-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add git commit SHA to Docker images #1225
Add git commit SHA to Docker images #1225
Conversation
9f34e9e
to
7c7ca49
Compare
@MarkEWaite Seems that tests are failing now due to a docker rate limit:
|
7c7ca49
to
2898530
Compare
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.
I like this. Please fix the indent.
2898530
to
2a7f5c2
Compare
Add the full git commit SHA to the generated Docker images using the `org.opencontainers.image.revision` metadata label. Fixes jenkinsci#865 Closes jenkinsci#892
2a7f5c2
to
e2d535e
Compare
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.
I'm willing to approve, but I'm unclear why the COMMIT_SHA
is included in the Makefile when the JENKINS_SHA
is not. I think that may need review from @timja or @dduportal
The tests have a fixed Jenkins sha while the repo commit will change all the time. |
@MarkEWaite
Note that I redefine it in |
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.
Love this, thanks for the tests too
Add the full git commit SHA to the generated Docker images using the
org.opencontainers.image.revision
metadata label.Fixes #865
Closes #892