digitalocean / doctl

The official command line interface for the DigitalOcean API.
https://docs.digitalocean.com/reference/doctl/
Apache License 2.0
3.26k stars 397 forks source link

Tag existing images in container registry #951

Open Kinrany opened 3 years ago

Kinrany commented 3 years ago

I want to add a tag for an image that already exists in the container registry.

I'd love to have a doctl registry tag command, similar to docker tag:

doctl registry tag image-name:old-tag image-name:new-tag

This way tagging can be done from the command line without downloading and then reuploading the image.

I'm assuming this will also require changes in the container registry itself.

andrewsomething commented 3 years ago

The DigitalOcean API does not currently support this, but I will pass the request on to the team working on the container registry. Thanks for the suggestion!

jonatas-moraes-ancora commented 3 years ago

I'm also interested in this feature.

Tobjoern commented 2 years ago

This feature is crucial to me.