Skip to content

Commit 3368ea1

Browse files
committed
Replace default docker manifest type
1 parent 13016cd commit 3368ea1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/dazzle/build.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,9 @@ func removeBaseLayer(ctx context.Context, opts removeBaseLayerOpts) (chkmf *ociv
322322
return
323323
}
324324

325+
// Replace default manifest type (application/vnd.docker.distribution.manifest.v2+json if not defined with the OCI one)
326+
chkmf.MediaType = ociv1.MediaTypeImageManifest
327+
325328
chkmf.Config = ociv1.Descriptor{
326329
MediaType: ociv1.MediaTypeImageConfig,
327330
Digest: digest.FromBytes(ncfg),

0 commit comments

Comments
 (0)