Skip to content

Commit 7fccf7f

Browse files
committed
ci: specify correct build-args
1 parent b850342 commit 7fccf7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206
image: sameersbn/gitlab
207207
tag: ${CIRCLE_TAG:-latest}
208208
cache_from: docker.io/sameersbn/gitlab:latest
209-
extra_build_args: '--build-arg GIT_COMMIT=${CIRCLE_SHA1} --build-arg GIT_TAG=$(date +%s)'
209+
extra_build_args: '--build-arg VCS_REF=${CIRCLE_TAG:-${CIRCLE_SHA1}} --build-arg BUILD_DATE="$(date +"%Y-%m-%d %H:%M:%S%:z")"'
210210
no_output_timeout: 45m
211211
- docker-save:
212212
registry: docker.io,quay.io

0 commit comments

Comments
 (0)