mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-07 06:44:52 +01:00
When the repo namespaces are unknown and the registry is docker.io, the default value "library" should be used. This matters when specifying library images in the shortest form, e.g. "busybox:latest"; we would be fetching docker://docker.io/busybox:latest instead of docker://docker.io/library/busybox:latest. skopeo would normalize that when fetching anyway, but this makes the output more regular (which, in particular, matters for looking up registries.d/*.yaml entries) and more consistent with the “fully qualified domain(?) name” terminology. Most importantly, the docker/distribution reference recorded inside the signature should use the fully expanded form for maximum semantic clarity. Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #937 Approved by: baude