Update ci_templates/.cic-template.yml

This commit is contained in:
Blair Vanderlugt 2021-03-01 14:22:46 +00:00
parent 854753f120
commit ca8c1b1f27

View File

@ -40,7 +40,8 @@ before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" $CI_REGISTRY --password-stdin
variables:
CI_DEBUG_TRACE: "true"
IMAGE_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA
TIMESTAMP: `date +%F.%H%M%S`
IMAGE_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA-$TIMESTAMP
LATEST_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:latest
script:
- docker build -t $IMAGE_TAG -f $DOCKERFILE_PATH .