Skip to content

Commit 13fbf73

Browse files
authored
don't tag main branch with anything but latest (#26)
1 parent 2b1c168 commit 13fbf73

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/actions/build/action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,8 @@ runs:
4949
tags: |
5050
type=schedule
5151
type=ref,event=tag
52-
type=ref,event=branch
52+
type=ref,event=branch,enable: ${{ github.ref != 'refs/heads/main' }}
5353
type=ref,event=pr
54-
# set latest tag for default branch
55-
# Disabled for now as we do not use this action for
56-
# The production build
5754
type=raw,value=latest,enable={{is_default_branch}}
5855
type=raw,value=staging,enable=${{ contains(github.event.head_ref, 'gh-readonly-queue-main') }}
5956

0 commit comments

Comments
 (0)