File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ import (
2222 "testing"
2323
2424 "github.com/opencontainers/image-spec/schema"
25+ "github.com/opencontainers/image-spec/specs-go/v1"
2526)
2627
2728var compatMap = map [string ]string {
28- "application/vnd.docker.distribution.manifest.list.v2+json" : "application/vnd.oci.image.manifest.list.v1+json" ,
29- "application/vnd.docker.distribution.manifest.v2+json" : "application/vnd.oci.image.manifest.v1+json" ,
30- "application/vnd.docker.image.rootfs.diff.tar.gzip" : "application/vnd.oci.image.rootfs.tar.gzip" ,
31- "application/vnd.docker.container.image.v1+json" : "application/vnd.oci.image.config.v1+json" ,
29+ "application/vnd.docker.distribution.manifest.list.v2+json" : v1 . MediaTypeImageManifestList ,
30+ "application/vnd.docker.distribution.manifest.v2+json" : v1 . MediaTypeImageManifest ,
31+ "application/vnd.docker.image.rootfs.diff.tar.gzip" : v1 . MediaTypeImageLayer ,
32+ "application/vnd.docker.container.image.v1+json" : v1 . MediaTypeImageConfig ,
3233}
3334
3435// convertFormats converts Docker v2.2 image format JSON documents to OCI
You can’t perform that action at this time.
0 commit comments