-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add OCI image annotations to docker hub published paketobuildpacks/builder-jammy-tiny images #132
Comments
Hi @candrews - thanks for sharing this feedback. I'm not too familiar with OCI image annotations or how they're used, so let's make sure we're starting from the same understanding. Currently, the
It sounds like you're asking for the addition of (at least):
Can you help me understand how those would be used and what values you would expect? For example, following your link to Renovate I see that it references the location of
But the repositories for builders (and stacks) don't have a single If we can identify a set of labels that we can and should be providing values for, we can write an RFC to do this for all the Paketo Builders, and potentially stacks too. |
For example, for this project, I'd like to see the docker image You can see an example Renovate PR candrews/jumpstart#388 for If the Besides Renovate, there are other uses for this information. Snyk uses them in its UI in very similar way to Renovate. There's also a manual use case. I've had many cases of coming across a project that uses an image, but I no idea where to find that image's source code - the |
Ah, ok. Thanks for providing that additional context. I think the best way to proceed would be to create an RFC for all stacks/builder images to have these additional image labels. That way we can identify which additional labels we want to add and what their contents should be. And we can define it in such a way that it applies to all stacks/builders, not just this specific builder (i.e. jammy-tiny). If you want to write that RFC that would be great. I'd be more than happy to provide pointers. If not - no worries. I think this RFC is worth creating but it might take a while for me to write it up. |
I wrote and submitted an RFC: paketo-buildpacks/rfcs#307 |
Describe the Enhancement
The images published to https://hub.docker.com/r/paketobuildpacks/builder-jammy-tiny/ do not have OCI image annotations, such as
org.opencontainers.image.source
I believe at least these labels should be added to the images:
org.opencontainers.image.source
org.opencontainers.image.revision
Motivation
These annotations are useful for people to manual use as well as for use by tools. For example, Snyk uses them in its UI and Renovate uses them to find release notes. I have multiple projects that would benefit from these Snyk and Renovate capabilities.
The text was updated successfully, but these errors were encountered: