Skip to content
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

Handle OCI manifest and index with no mediaType #2824

Merged
merged 2 commits into from
Oct 15, 2020

Conversation

chanseokoh
Copy link
Member

Fixes #2819.

As explained in #2819, the Docker spec requires mediaType in a manifest or manifest list. OTOH, the OCI spec doesn't require it. Therefore, if mediaType is not present (when schema 2), assume it's OCI.

And manifests and config are required in an OCI manifest or index, respectively.

@chanseokoh chanseokoh merged commit 5d55c20 into master Oct 15, 2020
@chanseokoh chanseokoh deleted the i2819-oci-manifest-mediaType branch October 15, 2020 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NPE on parse json manifest from Nexus
3 participants