From c39bc88b084150f3cf082098494973fca258ab41 Mon Sep 17 00:00:00 2001 From: joe miller Date: Wed, 11 Dec 2024 23:52:21 +0000 Subject: [PATCH] docker: fix amd64 bin being included in arm64 images --- .goreleaser.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index bb23f1f..b3150fe 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -119,6 +119,7 @@ dockers: - "ghcr.io/autotag-dev/autotag:v{{ .Major }}-amd64" # v1-amd64 - "ghcr.io/autotag-dev/autotag:v{{ .Major }}.{{ .Minor }}-amd64" # v1.0-amd64 - "ghcr.io/autotag-dev/autotag:latest-amd64" + goarch: amd64 - dockerfile: Dockerfile use: buildx @@ -130,6 +131,7 @@ dockers: - "ghcr.io/autotag-dev/autotag:v{{ .Major }}-arm64" # v1-arm64 - "ghcr.io/autotag-dev/autotag:v{{ .Major }}.{{ .Minor }}-arm64" # v1.0-arm64 - "ghcr.io/autotag-dev/autotag:latest-arm64" + goarch: arm64 # use `docker_manifests` section to create combined multi-arch image manifests: docker_manifests: