Skip to content

Commit 4ca75d4

Browse files
update goreleaser config docker tags
1 parent 56ee1c8 commit 4ca75d4

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.goreleaser.yml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,19 @@ dockers:
166166
- "--label=org.opencontainers.image.description=Task is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make."
167167

168168
docker_manifests:
169-
- name_template: "ghcr.io/go-task/task:v{{.Version}}"
169+
- name_template: "ghcr.io/go-task/task:v{{.Major}}.{{.Minor}}.{{.Patch}}"
170170
image_templates:
171171
- "ghcr.io/go-task/task:v{{.Version}}-amd64"
172172
- "ghcr.io/go-task/task:v{{.Version}}-arm64v8"
173-
174-
- name_template: "ghcr.io/go-task/task:latest"
173+
- name_template: "ghcr.io/go-task/task:v{{.Major}}.{{.Minor}}"
174+
image_templates:
175+
- "ghcr.io/go-task/task:v{{.Version}}-amd64"
176+
- "ghcr.io/go-task/task:v{{.Version}}-arm64v8"
177+
- name_template: "ghcr.io/go-task/task:v{{.Major}}"
175178
image_templates:
176179
- "ghcr.io/go-task/task:v{{.Version}}-amd64"
177180
- "ghcr.io/go-task/task:v{{.Version}}-arm64v8"
181+
- name_template: "ghcr.io/go-task/task:latest"
182+
image_templates:
183+
- "ghcr.io/go-task/task:v{{.Version}}-amd64"
184+
- "ghcr.io/go-task/task:v{{.Version}}-arm64v8"

0 commit comments

Comments
 (0)