KASM-6626 Template BASE_TAG in ci template to account for variabled

defined on scheduled pipelines
This commit is contained in:
Justin Travis 2024-10-30 16:30:59 -04:00
parent 7600e4580c
commit 3cfde36258
No known key found for this signature in database

View File

@ -20,6 +20,7 @@ variables:
before_script: before_script:
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD - docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
- export SANITIZED_BRANCH="$(echo $CI_COMMIT_REF_NAME | sed -r 's#^release/##' | sed 's/\//_/g')" - export SANITIZED_BRANCH="$(echo $CI_COMMIT_REF_NAME | sed -r 's#^release/##' | sed 's/\//_/g')"
- export BASE_TAG="{{ BASE_TAG }}"
############################################### ###############################################
# Build Containers and push to cache endpoint # # Build Containers and push to cache endpoint #