-
Notifications
You must be signed in to change notification settings - Fork 98
Description
As described in #171, I have a multiarch image and want to add a new tag to it.
I'd really love to be able to just use manifest-tool tag <source-tag> <dest-tag>
and have it do what I want.
I have a jsoref@retag-image script as a proof of concept.
-- It doesn't technically do the right thing for a single image, as it creates a manifest pointing to a single image instead of just adding a tag to the image, but I'm not sure there's a better way, and it saves me from downloading a 500+mb image when I don't need the image for my task. -- While the distinction in object types is technically observable, I suspect it doesn't practically matter.
A manifest-tool copy <source-tag> <dest-tag>
in the case where I need to cross repositories would also be great. (Although, I could understand if manifest-tool thinks that's outside its scope.)