-
Notifications
You must be signed in to change notification settings - Fork 181
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
Enable artifact guidance for ORAS #1062
Comments
Also in the diagram of |
@sajayantony This change will be covered in #1043, when using |
Both |
What if an artifact has a config but no layers? {
"schemaVersion": 2,
"mediaType": "application/vnd.oci.image.manifest.v1+json",
"artifactType": "application/vnd.example+type",
"config": {
"mediaType": "application/vnd.example.config.v1+json",
"digest": "sha256:5891b5b522d5df086d0ff0b110fbd9d21bb4fc7163af34d08286a2e846f6be03",
"size": 123
},
"layers": [
{
"mediaType": "application/vnd.oci.empty.v1+json",
"digest": "sha256:44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a",
"size": 2
}
]
} It is technically possible but this path is currently not in the decision tree. |
Oh. The decision tree actually covers it.
|
This is not accurate, according to current latest version of the guide, if there is no layer blob, the config descriptor must be empty and |
I think config blob is considered as a blob, isn't it? The guide does not state whether it is a layer blob or a config blob but a blob. |
No, the guide explicitly callout config blob as |
LoL. |
Well, oras should allow |
What is the version of your ORAS CLI
v1.1.0-rc1
What would you like to be added?
Continuing the conversation here since its about an ORAS CLI experience discussion. oras-project/oras-www#248 (comment) @qweeah
I think we can warn since this is guidance and not a MUST in the specification.
The above example has a config file but no blob and that is not a scenario that cannot be executed but not recommended.
Also we probably need to consider how to enable the user to pass in the config mediaType and also artifact-type.
Why is this needed for ORAS?
Updated support for v1.1
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: