-
Notifications
You must be signed in to change notification settings - Fork 63
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
feat: add how-to for multiple architecture #395
base: main
Are you sure you want to change the base?
Conversation
Only if OCI gave a way to not use the config blobs for archs, but I guess this is what we have today and IMHO we should publish this and chase a better experience in some brighter future. /cc @shizhMSFT |
f8bc97e
to
718885d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank @TerryHowe for the contribution and I agree with @sajayantony.
This PR depends on oras-project/oras#1500. Mark Request changes
to prevent accidental merge.
Linking oras-project/oras#1066
|
||
First we push a Linux ARM64 executable: | ||
```shell | ||
% oras push --plain-http localhost:15000/oras:linux,arm64 --platform linux/arm64 --artifact-type 'application/vnd.oci.image.config.v1+json' bin/linux/arm64/oras:application/octet-stream |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The flag name depends on the discussion of oras-project/oras#1500
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to --artifact-platform
083bd12
to
0604e76
Compare
Signed-off-by: Terry Howe <[email protected]>
0604e76
to
fffaf6b
Compare
sidebar_position: 110 | ||
--- | ||
|
||
# Multiple Architecture Image Support for ORAS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should the title be Multi-platform Image/Artifact Support with ORAS?
ORAS can help you manage multiple architecture artifacts such as configurations, executables, and container images. | ||
This example shows how you can use ORAS to manage executables for different operating systems and architectures. | ||
|
||
## Pushing the artifacts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As there are several features demonstrated in this doc are a part of ORAS v1.3.0, we need to create a new version of documentation before merging this PR. This article is supposed to be v1.3.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @TerryHowe . We will hold on this PR before ORAS v1.3 documentation folder created.
Add a how-to guilde for multiple architecture artifact management.
Closes: #247