Skip to content

Add platform flag to attach command #813

@SamirPS

Description

@SamirPS

What is the version of your ORAS CLI

Version: 1.0.0-rc.1+unreleased Go version: go1.20 Git commit: 8bda262 Git tree state: clean

What would you like to be added?

Right now, if I have a multi-arch image, I need this to attach a file to each arch.

oras attach... --oci-layout oci@digestofthearch

I would like to be able to do something like this.

oras attach .... --platform linux/s390x --oci-layout oci:dev 

Why is this needed for ORAS?

Right now, I have a multi-arch image, and it will be more intuitive to attach an artefact to an arch with the platform flag, especially when we can discover and cp with the platform flag.

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions