Skip to content

Is there a way of accessing GIT_REV during the build phase in the Dockerfile? #5901

Answered by josegonzalez
eillarra asked this question in Q&A
Discussion options

You must be logged in to vote

We can probably make an enhancement here to make the env var available so the build-arg works. I'd recommend filing a ticket :)

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@josegonzalez
Comment options

Answer selected by eillarra
Comment options

You must be logged in to vote
1 reply
@josegonzalez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants