From 98f9705695a29d32b64bb429e7236f3e3b5d4a76 Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Sat, 31 Jan 2026 18:00:14 +0100 Subject: [PATCH] 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 --- .github/workflows/bake_targets.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bake_targets.yml b/.github/workflows/bake_targets.yml index 8fcb4df3d..82ccabaf3 100644 --- a/.github/workflows/bake_targets.yml +++ b/.github/workflows/bake_targets.yml @@ -100,6 +100,7 @@ jobs: uses: docker/bake-action@5be5f02ff8819ecd3092ea6b2e6261c31774f2b4 # v6 id: build env: + BUILDX_METADATA_PROVENANCE: disabled environment: testing registry: ghcr.io/${{ github.repository_owner }} revision: ${{ github.sha }}