Pass the CI_PROJECT_URL as a build argument

This commit is contained in:
flow.gunso
2020-01-14 21:14:05 +01:00
parent 92ebbee242
commit 832618477e
2 changed files with 3 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ docker build \
--build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--build-arg VCS_REF=$(git rev-parse --short HEAD) \
--build-arg VERSION=$latest_version \
--build-arg PROJECT_URL=$CI_PROJECT_URL \
--tag $CI_PROJECT_NAME:build .
docker save --output ../$CI_PROJECT_NAME.tar $CI_PROJECT_NAME:build