Merge pull request #9867 from daghack/oci-add-mediatype

adds mediatype to oci index record
This commit is contained in:
Phil Estes 2024-02-29 21:32:59 +00:00 committed by GitHub
commit 9a2b85561a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -466,6 +466,7 @@ func ociIndexRecord(manifests []ocispec.Descriptor) tarRecord {
Versioned: ocispecs.Versioned{
SchemaVersion: 2,
},
MediaType: ocispec.MediaTypeImageIndex,
Manifests: manifests,
}