mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
remote untag: support digests
Fix a bug when remotely untagging an image via tag@digest. The digest has been lost in the remote client and hence led to a wrong behaviour on the server. Fixes: #11557 Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@ -57,6 +57,9 @@ function setup() {
|
||||
|
||||
# Now untag the digest reference again.
|
||||
run_podman untag $IMAGE $IMAGE@$digest
|
||||
|
||||
# Make sure the original image is still present (#11557).
|
||||
run_podman image exists $IMAGE
|
||||
}
|
||||
|
||||
# PR #7212: allow --remote anywhere before subcommand, not just as 1st flag
|
||||
|
Reference in New Issue
Block a user