-
Notifications
You must be signed in to change notification settings - Fork 399
Closed
Labels
kind/bugA defect in an existing functionality (or a PR fixing it)A defect in an existing functionality (or a PR fixing it)
Description
E.g. when pushing a schema2 image, dockerImageDestination.TryReusingBlobWithOptions can find and choose to use a Zstd layer
- That directly breaks if the user forced schema1/schema2 manifest type
- Even without
copy.Options.ForceManifestMIMEType, if the destination is manifest-schema-agnostic, anddetermineManifestConversionhas no reason to expect Zstd to be involved, the copy code will only have a single candidate; we need to either add an OCI manifest schema candidate, or not reuse Zstd layers if the copy is not set up to use OCI.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugA defect in an existing functionality (or a PR fixing it)A defect in an existing functionality (or a PR fixing it)