Merge pull request #9867 from daghack/oci-add-mediatype
adds mediatype to oci index record
This commit is contained in:
commit
9a2b85561a
@ -466,6 +466,7 @@ func ociIndexRecord(manifests []ocispec.Descriptor) tarRecord {
|
|||||||
Versioned: ocispecs.Versioned{
|
Versioned: ocispecs.Versioned{
|
||||||
SchemaVersion: 2,
|
SchemaVersion: 2,
|
||||||
},
|
},
|
||||||
|
MediaType: ocispec.MediaTypeImageIndex,
|
||||||
Manifests: manifests,
|
Manifests: manifests,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user