Skip to content

Commit dd5a901

Browse files
committed
ci: disable provenance in metadata to avoid size limits
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 44ec95f commit dd5a901

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ jobs:
4545
uses: docker/bake-action@5be5f02ff8819ecd3092ea6b2e6261c31774f2b4 # v6
4646
id: build
4747
env:
48+
BUILDX_METADATA_PROVENANCE: disabled
4849
environment: testing
4950
registry: ghcr.io/${{ github.repository_owner }}
5051
revision: ${{ github.sha }}

0 commit comments

Comments
 (0)