Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SwatiEY committed Dec 12, 2023
1 parent 549de98 commit 9a85fab
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}


Expand Down

0 comments on commit 9a85fab

Please sign in to comment.