Open stefanprodan opened 1 year ago
One nice to have feature would be for ArtifactHub to display the default CUE values like it does for Helm. For this, I guess we need to extract the CUE values at push time and store them somewhere, maybe inside the application/vnd.timoni.config.v1+json
layer?
I can take care of this one ☝️
@developer-guy can ArtifactHub list the versions from OCI tags and extract the infos from the annotations? Can we add more optional annotations like org.opencontainers.image.authors
so it gets displayed in sidebar?
All I know is this: https://github.com/anchore/syft/pull/876
Ok, I'll try to meet someone that maintains ArtifactHub at KubeCon to get more answers.
sounds like a great plan 🤣
that's the sprit of KubeCons 😁
kindly ping, did you find a proper answer to your question at KubeCon? 🙉
We should try to add the Timoni Module as a supported type in ArtifactHub. Modules which are published on public container registries could then be listed on https://artifacthub.io.
A Timoni module is an OCI artifact with the following media types:
application/vnd.oci.image.manifest.v1+json
application/vnd.timoni.config.v1+json
application/vnd.timoni.content.v1.tar+gzip
ArtifactHub can list the versions of a module by querying the container repository tags.
ArtifactHub can extract the OCI annotations for each module version to display information such as:
org.opencontainers.image.description
org.opencontainers.image.licenses
org.opencontainers.image.created
org.opencontainers.image.revision
org.opencontainers.image.source
org.opencontainers.image.documentation
The
org.opencontainers.image.documentation
contains the full URL to the markdown file which can be rendered in ArtifactHub.Example: