-
Notifications
You must be signed in to change notification settings - Fork 75
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
chore: added oci label to Dockerfile to reference the source #179
Conversation
This label could be used by [Renovatebot](https://docs.renovatebot.com/modules/datasource/docker/) for example to automatically pull a changelog into PRs it creates. Signed-off-by: kvanzuijlen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also dynamically add this?
org.opencontainers.image.created
This is static
org.opencontainers.image.documentation="https://velero.io"
Sure! I can also add other oci annotations if desired This are all the oci annotations that could apply (I think):
|
@kaovilai @blackpiglet shall I open a separate PR for additional labels? Which ones shall I add? |
If more labels are needed, I prefer to put them in the same PR. |
I don't think there's a need. Just nice to have. Same pr is fine. |
@kaovilai Which of the above listed labels? Only the ones you requested or some additional ones? |
I have no opinion on this other than that it should be labels that do not require manual update every release. If all we have now is all that's desired, we can stick with that for now, if there are others that are relatively low effort, I wouldn't mind it being added to this PR. |
Signed-off-by: kvanzuijlen <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm. For consistency probably add to other repos if this merges.
Signed-off-by: kvanzuijlen <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #179 +/- ##
==========================================
- Coverage 29.73% 28.28% -1.45%
==========================================
Files 3 4 +1
Lines 528 555 +27
==========================================
Hits 157 157
- Misses 359 386 +27
Partials 12 12 ☔ View full report in Codecov by Sentry. |
This label could be used by (for example) Renovatebot to automatically pull a changelog into PRs it creates.