Skip to content

Commit

Permalink
fix GHA invocation of docker tag push script
Browse files Browse the repository at this point in the history
Co-authored-by: Andrea Lamparelli <[email protected]>

Signed-off-by: Matteo Mortari <[email protected]>
  • Loading branch information
tarilabs committed Mar 7, 2024
1 parent ece101a commit 767da57
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 767da57

Please sign in to comment.