-
Notifications
You must be signed in to change notification settings - Fork 690
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
build: apply standard Docker image labels #2400
Conversation
Apply Docker image labels standardized in the OCI container image spec. This improves our ability to trace the provenance of a Contour image back to the corresponding source code. This fixes projectcontour#2392. Signed-off-by: James Peach <[email protected]>
|
LGTM |
Codecov Report
@@ Coverage Diff @@
## master #2400 +/- ##
==========================================
- Coverage 77.46% 77.42% -0.04%
==========================================
Files 66 66
Lines 5423 5423
==========================================
- Hits 4201 4199 -2
- Misses 1132 1133 +1
- Partials 90 91 +1
Continue to review full report at Codecov.
|
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
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.
Overall looks pretty cool! One thing I noticed is the image url points to projectcontour.io
. Should that be something like docker.io/projectcontour/contour
?
"org.opencontainers.image.url": "https://projectcontour.io/",
The OCI spec documents this field as "URL to find more information on the image". When I read this, I thought it meant more information about the software that ships in the image, but I can see that it can also be read as more information about the image that the software ships in. If it's the image, then we could go with The original label-schema definition of this field is:
This is a lot clearer and would support the first interpretation. |
It probably doesn't matter too much, but tend to agree that just the projectcontour page sounds like the info it's intended for. |
@stevesloka WDYT? |
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
Apply Docker image labels standardized in the OCI container image spec.
This improves our ability to trace the provenance of a Contour image
back to the corresponding source code.
This fixes #2392.
Signed-off-by: James Peach [email protected]