Skip to content

Commit 6430deb

Browse files
wesleyjellisclaude
andauthored
Disable buildx provenance to fix ECR manifest list error (#101)
Docker buildx enables provenance attestations by default, which causes each platform image to be pushed as a manifest list rather than a plain image manifest. ECR Public rejects creating a multi-arch manifest that references another manifest list, resulting in a release failure. Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ca0fde7 commit 6430deb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/.goreleaser.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ dockers:
3636
- "--label=org.opencontainers.image.version={{ .Tag }}"
3737
- "--build-arg=VERSION={{ .Tag }}"
3838
- "--platform=linux/amd64"
39+
- "--provenance=false"
3940
goos: linux
4041
goarch: amd64
4142
-
@@ -49,6 +50,7 @@ dockers:
4950
- "--label=org.opencontainers.image.version={{ .Tag }}"
5051
- "--build-arg=VERSION={{ .Tag }}"
5152
- "--platform=linux/arm64"
53+
- "--provenance=false"
5254
goos: linux
5355
goarch: arm64
5456
docker_manifests:

0 commit comments

Comments
 (0)