-
Notifications
You must be signed in to change notification settings - Fork 208
Use standard OCI annotations #2041
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
Conversation
There's a couple of changes that's worth to discuss:
|
2af7bf8
to
f21a9a5
Compare
the existing labels are based on what Openshift certification checks. @mregmi what do you think? |
Yeah, the |
In practice I've seen the labels used by Red Hat in use elsewhere so they will likely "have" to be supported by tooling. What lacks a counterpart is the source label. Should we just keep the existing labels and add the source label? |
I would wait for @mregmi's feedback. He should have good insights on the topic. |
@chaitanya1731 Could you review this PR and see whether this change compatible with RH certification. Thanks! |
@tkatila @mythi We can add other OCI standard labels in addition to whats already present like @AlexGustafsson mentioned above. |
Thanks @chaitanya1731 @AlexGustafsson could you change the PR to add these new labels? |
I believe the intent of this PR was to fix/change the existing labels to be the "standard ones". We don't need the labels for anything else but that certification stuff. My preference is to not add double labeling if we cannot change the Redhat required ones. The |
f21a9a5
to
f6576ce
Compare
I've updated the changes to only add the standard OCI image source addition. |
See https://github.com/opencontainers/image-spec/blob/main/annotations.md for a description of all standard annotations.
This change replaces all custom
LABEL
expressions used in all Dockerfiles used for builds. Additionally, it adds theorg.opencontainers.image.source
label to ensure that update and scanning tools can identify this source repository from the image.