Skip to content

Commit

Permalink
Fix goreleaser arch
Browse files Browse the repository at this point in the history
  • Loading branch information
sonalys committed Nov 23, 2024
1 parent dc2ee11 commit 10ae10d
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,17 @@ builds:
dockers:
- image_templates:
- "ghcr.io/sonalys/animeman:{{ .Tag }}-amd64"
- "ghcr.io/sonalys/animeman:{{ .Major }}-amd64"
- "ghcr.io/sonalys/animeman:latest-amd64"
use: buildx
build_flag_templates:
- "--pull"
- "--platform=linux/amd64"
goarch: amd64
- image_templates:
- "ghcr.io/sonalys/animeman:{{ .Tag }}-arm64"
- "ghcr.io/sonalys/animeman:{{ .Major }}-arm64"
- "ghcr.io/sonalys/animeman:latest-arm64"
use: buildx
build_flag_templates:
- "--pull"
Expand All @@ -48,6 +53,16 @@ docker_manifests:
- "ghcr.io/sonalys/animeman:{{ .Tag }}-amd64"
- "ghcr.io/sonalys/animeman:{{ .Tag }}-arm64"

- name_template: "ghcr.io/sonalys/animeman:{{ .Major }}"
image_templates:
- "ghcr.io/sonalys/animeman:{{ .Major }}-amd64"
- "ghcr.io/sonalys/animeman:{{ .Major }}-arm64"

- name_template: "ghcr.io/sonalys/animeman:latest"
image_templates:
- "ghcr.io/sonalys/animeman:latest-amd64"
- "ghcr.io/sonalys/animeman:latest-arm64"

archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
Expand Down

0 comments on commit 10ae10d

Please sign in to comment.