-
Notifications
You must be signed in to change notification settings - Fork 183
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support --platform
in oras push
and oras attach
#1066
Comments
Should I include support for a platform flag ? // @qweeah |
@amands98 Thanks for volunteering! Please make sure the baked config is following https://github.com/opencontainers/image-spec/blob/main/config.md#properties |
What's the media type of the config? Is it artifact-type |
Still need to apply this to |
|
Do you mean we can add a
That is to control which arch-specific manifest to attach on. But what are the use cases of adding platform to a referrer?🤔 |
Since we lack of the scenario for |
I think a new issue for attach would make it easier |
I just opened a new issue for |
What is the version of your ORAS CLI
oras v1.1.0-rc.1
What would you like to be added?
Add a new flag
--platform
(flag name TBD) to allow baking platform information into config data likeThe specified platform information will be stored in the config blob like https://oras.land/docs/concepts/artifact#artifacts-with-config
Why is this needed for ORAS?
User can easily build artifact with platform information without composing config blob on their own.
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: