We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d8361a commit e46c19eCopy full SHA for e46c19e
.github/workflows/test.yml
@@ -67,8 +67,8 @@ jobs:
67
type=ref,event=pr
68
# use (short) commit hash as tag:
69
type=sha
70
- # set latest tag for default branch:
71
- type=raw,value=latest,enable={{is_default_branch}}
+ # use latest tag for default branch and with highest priority (1000 is the highest default priority for the other types):
+ type=raw,value=latest,priority=1100,enable={{is_default_branch}}
72
73
- name: Get first tag
74
run: echo "IMAGE_TAG=$(echo "${{ steps.image-metadata.outputs.tags }}" | head -1)" >> $GITHUB_ENV
0 commit comments