Skip to content
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 a packaging Git commitId/Tag reference to Docker images #865

Closed
oleg-nenashev opened this issue Jul 29, 2019 · 4 comments · Fixed by #1225
Closed

Add a packaging Git commitId/Tag reference to Docker images #865

oleg-nenashev opened this issue Jul 29, 2019 · 4 comments · Fixed by #1225

Comments

@oleg-nenashev
Copy link
Member

oleg-nenashev commented Jul 29, 2019

Currently there is no way to reliably track down which version of https://github.com/jenkinsci/docker was used to package the image. It would be great to inject a file to the Docker image which references the commit ID or, later, a tag.

Such information can be used by users to track down changes, especially for weekly releases when changelogs from #856 are not available

@glefloch
Copy link

glefloch commented Oct 9, 2019

@oleg-nenashev I would like to work on this. Couldn't we just add a label on the image ? if you prefer a file, where should we put it and how do we name it?

@oleg-nenashev
Copy link
Member Author

@glefloch label would be even better, you are right

@hjwk
Copy link

hjwk commented Oct 5, 2021

is this issue still valid ?

@timja
Copy link
Member

timja commented Oct 5, 2021

yes

shaneog added a commit to shaneog/docker that referenced this issue Oct 23, 2021
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
shaneog added a commit to shaneog/docker that referenced this issue Oct 24, 2021
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
shaneog added a commit to shaneog/docker that referenced this issue Oct 24, 2021
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
shaneog added a commit to shaneog/docker that referenced this issue Oct 24, 2021
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
shaneog added a commit to shaneog/docker that referenced this issue Oct 24, 2021
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
shaneog added a commit to shaneog/docker that referenced this issue Oct 24, 2021
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
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
4 participants