podman icon indicating copy to clipboard operation
podman copied to clipboard

Add an ability to tag a remote manifest in the registry

Open ipanova opened this issue 1 year ago • 3 comments

Feature request description

podman tag can tag only locally stored images. Add an ability to tag a manifest that already exists on the registry.

Suggest potential solution

For regular manifests it would be enough to perform 'podman pull and then tag/push' but it will unnecessarily pull besides the manifest also the layers.

For manifests that contain artifacts it is not possible to podman pull, neither push a standalone manifest artifact that can be tagged.

Have you considered any alternatives?

Current workaround is to use skopeo copy docker://$foo@$digest docker://$foo:$tag

Additional context

Add any other context or screenshots about the feature request here.

ipanova avatar Aug 14 '24 12:08 ipanova

@mtrmac PTAL

rhatdan avatar Aug 16 '24 22:08 rhatdan

A friendly reminder that this issue had no activity for 30 days.

github-actions[bot] avatar Sep 16 '24 00:09 github-actions[bot]

@baude PTAL

rhatdan avatar Sep 16 '24 19:09 rhatdan

I do the following

$ podman manifest create --all fedora-manifest docker://ghcr.io/gbraad-actions/fedora:latest
$ podman login ghcr.io -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }}
$ podman manifest push --all fedora-manifest docker://ghcr.io/gbraad-actions/fedora:stable

as part of a GitHub workflow. It correctly tags all the images in the manifest from latest to stable. While this LOOKS OK from the Web UI, I did experience issues from time to time, such as "manifest unknown"

gbraad avatar Mar 13 '25 10:03 gbraad