Update ci_templates/.cic-template.yml

This commit is contained in:
Blair Vanderlugt 2021-02-05 22:21:35 +00:00
parent 5d44995de5
commit 598e8cc442

View File

@ -40,8 +40,8 @@ before_script:
- echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" $CI_REGISTRY --password-stdin - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" $CI_REGISTRY --password-stdin
variables: variables:
CI_DEBUG_TRACE: "true" CI_DEBUG_TRACE: "true"
IMAGE_TAG: $APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA IMAGE_TAG: $CI_REGISTRY/$CI_PROJECT_NAMESPACE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA
LATEST_TAG: $APP_NAME:$CI_COMMIT_BRANCH-latest LATEST_TAG: $CI_REGISTRY/$CI_PROJECT_NAMESPACE/$APP_NAME:$CI_COMMIT_BRANCH-latest
script: script:
- docker build -t $IMAGE_TAG -f $DOCKERFILE_PATH . - docker build -t $IMAGE_TAG -f $DOCKERFILE_PATH .
- docker push $IMAGE_TAG - docker push $IMAGE_TAG