Skip to content

ci: disable provenance in metadata to avoid size limits#78

Merged
sxd merged 1 commit intomainfrom
dev/disable-provenance-metadata
Feb 4, 2026
Merged

ci: disable provenance in metadata to avoid size limits#78
sxd merged 1 commit intomainfrom
dev/disable-provenance-metadata

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

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>
@sxd sxd merged commit 9ba1758 into main Feb 4, 2026
7 checks passed
@sxd sxd deleted the dev/disable-provenance-metadata branch February 4, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants