Skip to content

Commit ee9258e

Browse files
committed
Use latest or tag when building image
Signed-off-by: Jean-Laurent de Morlhon <jeanlaurent@morlhon.net>
1 parent 1eb508b commit ee9258e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
with:
125125
images: docker/cagent
126126
tags: |
127-
type=ref,event=branch
127+
type=raw,value=latest,enable={{is_default_branch}}
128128
type=ref,event=tag
129129
130130
- name: Build and push image

0 commit comments

Comments
 (0)