Skip to content

Commit 5e344ad

Browse files
[release-2.0] fix(ci): Add latest image tag only for the master branch (#2862)
Signed-off-by: Andrey Velichkevich <andrey.velichkevich@gmail.com> Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
1 parent 56be1f8 commit 5e344ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/template-publish-image/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ runs:
8282
images: ${{ inputs.image }}
8383
tags: |
8484
type=ref,event=tag
85-
type=raw,latest
85+
type=raw,value=latest,enable={{is_default_branch}}
8686
type=sha
8787
8888
- name: Build and Push

0 commit comments

Comments
 (0)