-
Feature Request
-
Resolution: Done
-
Undefined
-
None
-
None
-
x86_64
Build triggers are great for automatically building container images. However, once the image is built, there's no way to determine which commit was used for building it.
It's possible to find this information from the build history, but it's a bit awkward to map an image back to a build. I'm also not sure if this is publicly available for non-repository maintainers.
It would be great if Quay injected LABELS into the image for tracking this information. Then, anyone with a hold of the image can easily find this information. It looks like commit_info has all the information needed to populate the LABELS.
For reference, OpenShift's build process does set such LABELS.