Skip to content

Conversation

@mnencia
Copy link
Member

@mnencia mnencia commented Jan 31, 2026

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

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. github_actions Pull requests that update GitHub Actions code labels Jan 31, 2026
@mnencia mnencia force-pushed the dev/disable-provenance-metadata branch from 8e5c8b1 to 36ba915 Compare January 31, 2026 17:08
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Feb 2, 2026
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 <[email protected]>
@mnencia mnencia force-pushed the dev/disable-provenance-metadata branch from 36ba915 to 98f9705 Compare February 2, 2026 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants