Skip to content
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

Add LABELs and files in /etc/ to identify build #581

Merged
merged 1 commit into from
Jul 9, 2019

Conversation

rosbo
Copy link
Contributor

@rosbo rosbo commented Jul 4, 2019

Fixes #532

Added the git commit hash and the build date to:

  • Docker image LABELs
  • Files under /etc (to easily run cat /etc/git_commit inside the kernel editor)

This allow to correlate easily an image with a specific git commit hash and build date.

@rosbo rosbo requested a review from Philmod July 4, 2019 19:57
@rosbo rosbo merged commit 2ac2889 into master Jul 9, 2019
@rosbo rosbo deleted the identify-date-and-git branch July 9, 2019 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to correlate gcr.io version tag with GitHub commit?
2 participants