From 9a85fab6f3fcab830165a68ef39fc31f3b6b7228 Mon Sep 17 00:00:00 2001 From: Swati Rawal Date: Tue, 12 Dec 2023 12:20:51 +0000 Subject: [PATCH] fixed workflow --- .github/workflows/release-updated.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-updated.yml b/.github/workflows/release-updated.yml index c86f475..b935d94 100644 --- a/.github/workflows/release-updated.yml +++ b/.github/workflows/release-updated.yml @@ -30,14 +30,11 @@ jobs: # - run: echo ${{ steps.semantic.outputs.release-version }} - - name: Docker push version - if: steps.semantic.outputs.new-release-published == 'true' + - name: Docker push version run: | - docker login https://docker.pkg.github.com -u $GITHUB_ACTOR -p $GPR_TOKEN - docker build --build-arg GPR_TOKEN=$GPR_TOKEN -t docker.pkg.github.com/eyblockchain/zokrates-worker/zokrates-worker-updated:$RELEASE_VERSION . - docker push docker.pkg.github.com/eyblockchain/zokrates-worker/zokrates-worker-updated:$RELEASE_VERSION + docker build --build-arg GPR_TOKEN=$GPR_TOKEN -t ghcr.io/eyblockchain/zokrates-worker/zokrates-worker-updated:latest . + docker push ghcr.io/eyblockchain/zokrates-worker/zokrates-worker-updated:latest env: - RELEASE_VERSION: v${{ steps.semantic.outputs.release-version }} GPR_TOKEN: ${{ secrets.GITHUB_TOKEN }}