Skip to content

Commit

Permalink
Add support for arm64 docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
belak committed Oct 13, 2022
1 parent c7025dd commit 0e6e273
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,29 @@ dockers:
- entrypoint.sh
build_flag_templates:
- "--platform=linux/amd64"
-
goos: linux
goarch: arm64
use: buildx
image_templates:
- "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}-arm64"
extra_files:
- entrypoint.sh
build_flag_templates:
- "--platform=linux/arm64/v8"
docker_manifests:
- name_template: "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}"
image_templates:
- "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}-amd64"
- "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}-arm64"
- name_template: "ghcr.io/tinted-theming/base16-builder-go:v{{ .Major }}.{{ .Minor }}"
image_templates:
- "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}-amd64"
- "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}-arm64"
- name_template: "ghcr.io/tinted-theming/base16-builder-go:latest"
image_templates:
- "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}-amd64"
- "ghcr.io/tinted-theming/base16-builder-go:{{ .Tag }}-arm64"
archives:
- format: binary
replacements:
Expand Down

0 comments on commit 0e6e273

Please sign in to comment.