Skip to content

Copies with Zstd compression to schema-agnostic transports don’t trigger schema conversion #2195

@mtrmac

Description

@mtrmac

E.g.

skopeo copy --dest-compress --dest-compress-format=zstd dir:uncompressed-schema2 dir:dest

fails with FATA[0000] creating an updated image manifest: preparing updated manifest, layer "sha256:…": zstd compression is not supported for type "application/vnd.docker.image.rootfs.diff.tar"

because determineManifestConversion sees that all formats are accepted, and thinks that there is no reason to try anything but the source format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugA defect in an existing functionality (or a PR fixing it)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions