Skip to content

support override via platform specifier #2118

@rittneje

Description

@rittneje

Currently skopeo accepts three distinct flags for overriding the default (host) platform selection: --override-os, --override-arch, and --override-variant.

When working with other tools such as buildkit, the platform is instead specified as a single slash-delimited string, such as linux/arm64 or linux/arm/v7. This format is explained in further detail here.

It would be nice if skopeo accepted a new flag such as --override-platform that accepted such a platform specifier. And probably the three existing override flags should be deprecated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureA request for, or a PR adding, new functionalitystale-issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions