annotations aren't added if --provenance=false #3016
Unanswered
apetrosyan1613
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! I've spent some time to find the reason for missing annotations within
docker buildx imagetools createcommand.The reason is here
When the
--provenanceflag is set to true, we have two different media types:Expected:
application/vnd.oci.image.index.v1+jsonActual:
application/vnd.docker.distribution.manifest.list.v2+jsonSo, what do we have: annotations for multi-arch builds are added only if we have enabled the provenance flag
I'm not sure if it's a bug, but I'll be glad if anyone can explain to me, why this behavior is expected.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions