Skip to content

Commit

Permalink
fix GHA invocation of docker tag push script (#30)
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Mortari <[email protected]>
Co-authored-by: Andrea Lamparelli <[email protected]>
  • Loading branch information
tarilabs and lampajr authored Mar 7, 2024
1 parent ece101a commit 3e93a2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
BUILD_IMAGE: false
run: |
docker tag ${{ env.IMG }}:$VERSION ${{ env.IMG }}:latest
# BUILD_IMAGE=false skip the build
./scripts/build_deploy.sh
# BUILD_IMAGE=false skip the build, just push the tag made above
VERSION=latest ./scripts/build_deploy.sh
- name: Tag Main
if: env.BUILD_CONTEXT == 'main'
shell: bash
Expand All @@ -64,5 +64,5 @@ jobs:
BUILD_IMAGE: false
run: |
docker tag ${{ env.IMG }}:$VERSION ${{ env.IMG }}:main
# BUILD_IMAGE=false skip the build
./scripts/build_deploy.sh
# BUILD_IMAGE=false skip the build, just push the tag made above
VERSION=main ./scripts/build_deploy.sh

0 comments on commit 3e93a2c

Please sign in to comment.