Skip to content

Commit

Permalink
adds mediatype to oci index record
Browse files Browse the repository at this point in the history
Signed-off-by: Talon Bowler <talon.bowler@docker.com>
  • Loading branch information
daghack committed Feb 29, 2024
1 parent 33e544e commit 17ea395
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/images/archive/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ func ociIndexRecord(manifests []ocispec.Descriptor) tarRecord {
Versioned: ocispecs.Versioned{
SchemaVersion: 2,
},
MediaType: ocispec.MediaTypeImageIndex,
Manifests: manifests,
}

Expand Down

0 comments on commit 17ea395

Please sign in to comment.