Skip to content

Commit 1c33fba

Browse files
authored
chore: add major version tag for Docker images (#2709)
1 parent d5dc386 commit 1c33fba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.goreleaser.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,9 @@ dockers_v2:
9090
- linux/arm/v7
9191
tags:
9292
- 'latest'
93-
- '{{ .Tag }}'
93+
- 'v{{ .Major }}'
9494
- 'v{{ .Major }}.{{ .Minor }}'
95+
- '{{ .Tag }}'
9596
labels:
9697
# https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys
9798
'org.opencontainers.image.title': '{{.ProjectName}}'

0 commit comments

Comments
 (0)