Skip to content

Commit 10ae10d

Browse files
committed
Fix goreleaser arch
1 parent dc2ee11 commit 10ae10d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.goreleaser.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,17 @@ builds:
3030
dockers:
3131
- image_templates:
3232
- "ghcr.io/sonalys/animeman:{{ .Tag }}-amd64"
33+
- "ghcr.io/sonalys/animeman:{{ .Major }}-amd64"
34+
- "ghcr.io/sonalys/animeman:latest-amd64"
3335
use: buildx
3436
build_flag_templates:
3537
- "--pull"
3638
- "--platform=linux/amd64"
39+
goarch: amd64
3740
- image_templates:
3841
- "ghcr.io/sonalys/animeman:{{ .Tag }}-arm64"
42+
- "ghcr.io/sonalys/animeman:{{ .Major }}-arm64"
43+
- "ghcr.io/sonalys/animeman:latest-arm64"
3944
use: buildx
4045
build_flag_templates:
4146
- "--pull"
@@ -48,6 +53,16 @@ docker_manifests:
4853
- "ghcr.io/sonalys/animeman:{{ .Tag }}-amd64"
4954
- "ghcr.io/sonalys/animeman:{{ .Tag }}-arm64"
5055

56+
- name_template: "ghcr.io/sonalys/animeman:{{ .Major }}"
57+
image_templates:
58+
- "ghcr.io/sonalys/animeman:{{ .Major }}-amd64"
59+
- "ghcr.io/sonalys/animeman:{{ .Major }}-arm64"
60+
61+
- name_template: "ghcr.io/sonalys/animeman:latest"
62+
image_templates:
63+
- "ghcr.io/sonalys/animeman:latest-amd64"
64+
- "ghcr.io/sonalys/animeman:latest-arm64"
65+
5166
archives:
5267
- format: tar.gz
5368
# this name template makes the OS and Arch compatible with the results of `uname`.

0 commit comments

Comments
 (0)