You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
codingben
changed the title
ggcr: creating an empty image index from empty image manifest not supported
ggcr: creating an empty image index that contains empty image manifest not supported
Mar 21, 2024
Describe the bug
We're using
google/go-containerregistry
in our tooling to create container images [1].[1] https://github.com/kubevirt/containerdisks
Our steps:
DockerManifestSchema
[1].OCIImageIndex
[2].When trying to copy it from internal registry to Quay container registry, it fails with an error that it's not supported.
[1] https://github.com/google/go-containerregistry/blob/main/pkg/v1/empty/image.go#L32
[2] https://github.com/google/go-containerregistry/blob/main/pkg/v1/empty/index.go#L32
To Reproduce
Just create an empty image index with empty image inside and try to copy it from internal registry to external container registry.
Expected behavior
Empty image manifest and empty image index should have the same media type. Ideally only and just OCI and not Docker.
The text was updated successfully, but these errors were encountered: