SIGN IN SIGN UP
containers / podman UNCLAIMED

Podman: A tool for managing OCI containers and pods.

fix(artifact): show :latest tag in ls output when no explicit tag given

When an artifact is added without an explicit tag (e.g.
"quay.io/myimage/myartifact"), the TAG column in "podman artifact ls"
was empty instead of showing "latest", unlike container images which
default to :latest.

Add a call to reference.TagNameOnly() after parsing the stored name so
the display normalises the reference before extracting the tag, matching
the behaviour of container images.

Fixes: #27083

Signed-off-by: Devesh B <[email protected]>
D
Devesh B committed
3bd376401ef89fb18e06a390adcfbd219a37b84b
Parent: 00012e3