Closed codingben closed 3 months ago
We're using google/go-containerregistry in our tooling to create container images [1].
google/go-containerregistry
[1] https://github.com/kubevirt/containerdisks
Our steps:
DockerManifestSchema
OCIImageIndex
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
Just create an empty image index with empty image inside and try to copy it from internal registry to external container registry.
Empty image manifest and empty image index should have the same media type. Ideally only and just OCI and not Docker.
This issue is stale because it has been open for 90 days with no activity. It will automatically close after 30 more days of inactivity. Keep fresh with the 'lifecycle/frozen' label.
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.