fix setting vcs-ref
This commit is contained in:
parent
e465e29ad1
commit
0870a757ef
@ -9,7 +9,7 @@ stages:
|
||||
before_script:
|
||||
- docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
|
||||
- docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
|
||||
- export DOCKER_BUILD_ARGS="--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=`git rev-parse --short HEAD`"
|
||||
- export DOCKER_BUILD_ARGS="--build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` --build-arg VCS_REF=$CI_COMMIT_SHORT_SHA"
|
||||
|
||||
build-amd64:
|
||||
stage: build
|
||||
|
Loading…
x
Reference in New Issue
Block a user