Skip to content

Accept manifest-only BuildKit metadata - #588

Merged
SaladDay merged 1 commit into
aos/cutoverfrom
aos/manifest-only-buildkit-metadata
Oct 8, 2026
Merged

SaladDay merged 1 commit into
aos/cutoverfrom
aos/manifest-only-buildkit-metadata

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

BuildKit Docker/OCI exports can omit containerimage.config.digest, causing distribution builds to reject valid images already loaded into Docker. Accept that metadata only when the reported manifest digest resolves to the exact local image and selected Linux architecture; preserve the existing two-digest resolver and archive integrity checks.

Validation: all 30 distribution-manifest tests, name/CI hygiene, shell syntax and diff checks passed. A real BuildKit 0.26.2 scratch image with a copied file produced manifest-only metadata; the updated command resolved its loaded image, and the unchanged exported-archive verifier validated both config and manifest identities. Negative tests cover malformed digests, missing images, identity mismatch and wrong OS/architecture.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit 8db9b74 into aos/cutover Oct 8, 2026
13 checks passed
@SaladDay
SaladDay deleted the aos/manifest-only-buildkit-metadata branch October 8, 2026 16:49
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.

1 participant