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

Document custom sections for OCI-compatible annotations #248

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yoshuawuyts
Copy link
Member

Closes #230. This documents custom sections that correspond to the OpenContainer Annotations specification, enabling build tools to encode metadata that is picked up by publishing tools, and translated to a format that registries can understand. This functionality is currently supported by wasm-tools, wasm-pkg-tools, and an open PR implementing this for cargo-component is currently out for review. Thanks!

References

@dschuff
Copy link
Member

dschuff commented Feb 24, 2025

These section names are very generic, but they seem to have very specific meaning wrt OCI. It's easy to imagine some tool that's unaware of OCI using one of them. I think it would make sense to give them some common prefix (e.g. oci.author).
Maybe this isn't feasible given that there's already existing tooling, but it seems worth at least considering.

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.

Enable generating OpenContainers annotations from Wasm Components
2 participants