From fb56bb94ac7e795d7a4c9918feb527ea11a96618 Mon Sep 17 00:00:00 2001 From: Emile Nijssen Date: Sun, 17 Dec 2023 22:23:04 +0100 Subject: [PATCH] wip --- .github/workflows/deploy.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 871ff0c..7052f72 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,11 +1,10 @@ -name: Build & Publish Docker Image to Docker Hub +name: Build & Publish Docker Image to GitHub Container Registry on: workflow_dispatch: push: branches: - production - - production/** jobs: deploy: @@ -29,13 +28,12 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - # Set environment variables - - run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV + - name: Set environment variables + run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV - # Build & Publish - name: Build & Publish Docker Image uses: docker/build-push-action@v2 with: push: true platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 - tags: weejewel/wg-easy:latest, weejewel/wg-easy:${{ env.RELEASE }} + tags: wg-easy/wg-easy:latest, wg-easy/wg-easy:${{ env.RELEASE }}