Skip to content

Commit ad98d93

Browse files
candrewscrazy-max
andauthored
ci: generate annotations on PR, not just push
Co-authored-by: CrazyMax <[email protected]> Signed-off-by: Craig Andrews <[email protected]>
1 parent 2749253 commit ad98d93

File tree

1 file changed

+1
-1
lines changed
  • frontend/dockerfile/cmd/dockerfile-frontend/hack

1 file changed

+1
-1
lines changed

frontend/dockerfile/cmd/dockerfile-frontend/hack/release

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ if [[ "$RELEASE" = "true" ]] && [[ "$GITHUB_ACTIONS" = "true" ]]; then
7676
fi
7777

7878
outputFlag="type=image,$pushFlag"
79-
if [ "$PUSH" = "push" ] && [ "$GITHUB_ACTIONS" = "true" ]; then
79+
if [ "$GITHUB_ACTIONS" = "true" ]; then
8080
outputFlag="${outputFlag},\"annotation.org.opencontainers.image.title=Dockerfile Frontend\""
8181
if [ -n "$GITHUB_SHA" ]; then
8282
outputFlag="${outputFlag},annotation.org.opencontainers.image.revision=$GITHUB_SHA"

0 commit comments

Comments
 (0)