From 0e6e273e2422284105e58fd4f7c3bcef87af446e Mon Sep 17 00:00:00 2001 From: Kaleb Elwert Date: Thu, 13 Oct 2022 13:10:00 -0700 Subject: [PATCH] Add support for arm64 docker images --- .goreleaser.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 36dd970..72394be 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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: