Skip to content

Commit 17ea395

Browse files
committed
adds mediatype to oci index record
Signed-off-by: Talon Bowler <talon.bowler@docker.com>
1 parent 33e544e commit 17ea395

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/images/archive/exporter.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,7 @@ func ociIndexRecord(manifests []ocispec.Descriptor) tarRecord {
466466
Versioned: ocispecs.Versioned{
467467
SchemaVersion: 2,
468468
},
469+
MediaType: ocispec.MediaTypeImageIndex,
469470
Manifests: manifests,
470471
}
471472

0 commit comments

Comments
 (0)