Skip to content

Commit

Permalink
build: only allow docker image tagging as latest upon release (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
apaletta3 authored Mar 20, 2024
1 parent e25816e commit 65d1778
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-base-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
secrets: inherit

push-and-tag-base-image-as-latest:
if: github.ref == 'refs/heads/main'
if: github.event_name == 'release' && github.event.action == 'published'
name: Push and Tag Base Image as Latest
needs:
- prepare-environment
Expand Down

0 comments on commit 65d1778

Please sign in to comment.