Skip to content

Commit 4b422cb

Browse files
committed
ci: Don't publish main tag
1 parent a41b1f6 commit 4b422cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publishImage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ jobs:
188188
type=edge
189189
190190
# push with branch name as tag if not master/main
191-
type=ref,event=branch,enable=${{ !endsWith(github.ref, 'master') }}
191+
type=ref,event=branch,enable=${{ !endsWith(github.ref, 'main') }}
192192
193193
# tag non-prelease as latest -- has a higher priority than regular tag so it shows first in registries
194194
type=match,pattern=\d.\d.\d$,priority=901

0 commit comments

Comments
 (0)