From d7b58621ee8ac7c72c7acea27b7922aaddaa20b0 Mon Sep 17 00:00:00 2001 From: Vasily Marmer Date: Fri, 5 Mar 2021 12:07:08 +0300 Subject: [PATCH] init --- .github/actions/build.yaml | 25 +++++++++++++++++++++++++ werf.yaml | 8 ++++++++ 2 files changed, 33 insertions(+) create mode 100644 .github/actions/build.yaml create mode 100644 werf.yaml diff --git a/.github/actions/build.yaml b/.github/actions/build.yaml new file mode 100644 index 0000000..4a511ae --- /dev/null +++ b/.github/actions/build.yaml @@ -0,0 +1,25 @@ +name: Build and publish to Docker Hub (tags only) +on: + push: + tags: + - * +jobs: + build: + name: Converge + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Docker login + run: | + echo "${{ secrets.DOCKER_PASS }}" | docker login -u ${{ secrets.DOCKER_PASS }} --password-stdin + - name: Converge + uses: werf/actions/converge@master + with: + group: 1.1 + channel: beta + env: + WERF_STAGES_STORAGE=REPO + WERF_REPO: ${{ secrets.REGISTRY }}/${{ github.repository }} diff --git a/werf.yaml b/werf.yaml new file mode 100644 index 0000000..93ed4d2 --- /dev/null +++ b/werf.yaml @@ -0,0 +1,8 @@ +project: openvpn-admin +configVersion: 1 +--- +image: openvpn-admin +dockerfile: Dockerfile +--- +image: openvpn +dockerfile: Dockerfile-openvpn