Skip to content

allow image index type for oci-layout #4088

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

panekj
Copy link

@panekj panekj commented Apr 5, 2025

OCI specification allows either image.index or image.manifest for each manifest descriptor in OCI layout https://github.com/opencontainers/image-spec/blob/c05acf7eb327dae4704a4efe01253a0e60af6b34/image-layout.md?plain=1#L153

OCI specification allows either image.index or image.manifest for each manifest descriptor in OCI layout
https://github.com/opencontainers/image-spec/blob/c05acf7eb327dae4704a4efe01253a0e60af6b34/image-layout.md?plain=1#L153

Signed-off-by: Jakub Panek <me@panekj.dev>
@panekj panekj force-pushed the pj/fix/allow-image-index-mediatype branch from 773cf06 to 17df6f6 Compare April 5, 2025 09:06
@AkihiroSuda
Copy link
Member

How to test this?

@apostasie
Copy link
Contributor

How to test this?

Generally speaking, wondering if we would need some tooling to manually author and push manifests - that would allow testing how we behave in the face of broken / unsupported / maliciously crafted manifests.

That would be a bit of work, but not completely unrealistic.

@apostasie
Copy link
Contributor

(comment above does not imply support for this specific change here - I am scratching my head as to what the use-case for it is?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants