Skip to content

Commit 0f464ce

Browse files
Add some safety around the latest tag
Signed-off-by: Jacob Weinstock <jakobweinstock@gmail.com>
1 parent 1bf66ab commit 0f464ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ dockers_v2:
3737
- "{{ .Env.REGISTRY }}/{{ .Env.IMAGE_NAME }}"
3838
tags:
3939
- "v{{ .Version }}"
40-
- "latest"
40+
- "{{ if not .IsNightly }}latest{{ end }}"
4141
labels:
4242
"org.opencontainers.image.created": "{{.Date}}"
4343
"org.opencontainers.image.name": "{{.ProjectName}}"

0 commit comments

Comments
 (0)