Skip to content

Commit 30b37a1

Browse files
enkoclaude
andcommitted
fix(ci): Disable provenance/sbom for individual Docker builds
Provenance and SBOM attestations create manifest lists even for single-platform builds, which breaks `docker manifest create` when combining architectures. Attestation is already done at the manifest level in the docker-manifest job. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 91c4482 commit 30b37a1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,10 @@ jobs:
160160
tags: ${{ steps.meta.outputs.tags }}
161161
labels: ${{ steps.meta.outputs.labels }}
162162
platforms: ${{ matrix.platform }}
163-
provenance: mode=max
164-
sbom: true
163+
# Disable provenance/sbom for individual builds - they create manifest lists
164+
# which break docker manifest create. Attestation is done at manifest level.
165+
provenance: false
166+
sbom: false
165167
build-args: ${{ matrix.image == 'nginx' && format('VITE_SENTRY_DSN={0}', secrets.VITE_SENTRY_DSN) || '' }}
166168
# Multi-layer caching strategy for maximum cache hits
167169
cache-from: |

0 commit comments

Comments
 (0)