Skip to content

Provide a way to add a tag to an existing image #173

@jsoref

Description

@jsoref

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions