diff --git a/ci_templates/.cic-template.yml b/ci_templates/.cic-template.yml index 574ae1aa..e33894ac 100644 --- a/ci_templates/.cic-template.yml +++ b/ci_templates/.cic-template.yml @@ -40,8 +40,7 @@ before_script: - echo "$CI_REGISTRY_PASSWORD" | docker login -u "$CI_REGISTRY_USER" $CI_REGISTRY --password-stdin variables: CI_DEBUG_TRACE: "true" - TIMESTAMP: $(date +%F.%H%M%S) - IMAGE_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA-$TIMESTAMP + IMAGE_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA-$(date +%F.%H%M%S) LATEST_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:latest script: - docker build -t $IMAGE_TAG -f $DOCKERFILE_PATH .