Skip to content

imagetools: improve annotation handling - #4091

Open
crazy-max wants to merge 1 commit into
docker:masterfrom
crazy-max:fix-imagetools-annotation-errors
Open

crazy-max wants to merge 1 commit into
docker:masterfrom
crazy-max:fix-imagetools-annotation-errors

Conversation

@crazy-max

Copy link
Copy Markdown
Member

fixes #2148

Untyped imagetools create annotations now target the image index, while manifest annotations return an actionable error because the command doesn't rewrite manifests. Annotations targeting Docker manifest lists now fail instead of being silently discarded, and the error explains how to produce compatible sources with oci-mediatypes=true.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
@crazy-max crazy-max added this to the v0.38.0 milestone Sep 17, 2026
@crazy-max
crazy-max marked this pull request as ready for review September 17, 2026 16:03
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.

imagetools: cryptic error messages for annotation flag

1 participant