Skip to content

[v0.32 backport] exporter: fix attestation manifest push order - #7013

Merged
crazy-max merged 1 commit into
moby:v0.32from
crazy-max:v0.32-backport-7012
Aug 3, 2026
Merged

[v0.32 backport] exporter: fix attestation manifest push order#7013
crazy-max merged 1 commit into
moby:v0.32from
crazy-max:v0.32-backport-7012

Conversation

@crazy-max

Copy link
Copy Markdown
Member

OCI artifact attestations carry a subject reference to the image manifest.
Push manifests in an order that keeps child manifests before parent indexes
while also pushing any in-stack subject manifest before the attestation
that references it.

Add an integration test variant with a strict registry proxy to cover
registries that reject manifests whose subject doesn't already exist.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
(cherry picked from commit 067b18b)
@crazy-max
crazy-max force-pushed the v0.32-backport-7012 branch from 86b8d0a to c300afc Compare August 3, 2026 09:41
@crazy-max
crazy-max marked this pull request as ready for review August 3, 2026 09:48
@crazy-max
crazy-max merged commit f1697c4 into moby:v0.32 Aug 3, 2026
192 checks passed
@crazy-max
crazy-max deleted the v0.32-backport-7012 branch August 3, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants