Skip to content

Commit f58a4dd

Browse files
authored
ci: disable provenance in metadata to avoid size limits (#384)
Docker Buildx 0.31.0 includes full provenance attestations in the metadata output for multi-platform builds, resulting in 444KB+ JSON that exceeds bash argument list limits. Setting BUILDX_METADATA_PROVENANCE=disabled excludes provenance from the metadata file while keeping attestations attached to images in the registry. Related: cloudnative-pg/cloudnative-pg#9826 Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
1 parent 60085b8 commit f58a4dd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/bake_targets.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
uses: docker/bake-action@5be5f02ff8819ecd3092ea6b2e6261c31774f2b4 # v6
101101
id: build
102102
env:
103+
BUILDX_METADATA_PROVENANCE: disabled
103104
environment: testing
104105
registry: ghcr.io/${{ github.repository_owner }}
105106
revision: ${{ github.sha }}

0 commit comments

Comments
 (0)