Skip to content

Commit 25afe1a

Browse files
author
Blaize Kaye
committed
Specifies default branch rather than main
1 parent b71881a commit 25afe1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/insights-trivy-image.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
# set edge tag for default branch
7979
type=edge,enable={{is_default_branch}}
8080
# set latest tag for main branch - this is required for the scheduled builds
81-
type=raw,value=latest,enable=${{ github.ref == 'refs/heads/main' }}
81+
type=raw,value=latest,enable=${{is_default_branch}}
8282
# set tag+build for default branch
8383
type=raw,value=${{ env.DOCKER_TAG}},enable={{is_default_branch}}
8484
# tag event

0 commit comments

Comments
 (0)