Skip to content

Commit 30cfc9d

Browse files
fix(release): add provenance=false flag for docker builds
Add the --provenance=false flag to all Docker builds via the flags field to ensure compatibility with registries that do not support buildx provenance attestations, particularly the Heroku Container Registry. Signed-off-by: Sebastian Webber <sebastian@swebber.me>
1 parent a425ee9 commit 30cfc9d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.goreleaser.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,9 @@ dockers_v2:
144144
platforms:
145145
- linux/amd64
146146
- linux/arm64
147+
flags:
148+
- "--provenance=false"
149+
sbom: false
147150

148151
- id: api
149152
ids:
@@ -170,4 +173,6 @@ dockers_v2:
170173
platforms:
171174
- linux/amd64
172175
- linux/arm64
173-
176+
flags:
177+
- "--provenance=false"
178+
sbom: false

0 commit comments

Comments
 (0)