hi all relatively new to dockerhub i had a quick question, is it possible to get build parameters in an automated dockerhub built ie --build-arg GIT_SHA1=$(git rev-parse --short HEAD) . as im trying to attach a git hash to my docker environment, any help is appreciated!
jenkink (Jenkink) #1
lizter (Lizter) #2
Are you whitelisting
GIT_SHA1 in your Dockerfile? E.g.
All build args that are not part of the predefined ones needs to be whitelisted.
Have you verified that the substitution works?