Revert "Update ci_templates/.cic-template.yml"
This reverts commit f37fa1dbcf
This commit is contained in:
parent
f37fa1dbcf
commit
daadbc27e9
@ -40,8 +40,7 @@ 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"
|
||||||
# <branch>-<sha1>-<timestamp> https://toolkit.fluxcd.io/guides/sortable-image-tags/
|
IMAGE_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA
|
||||||
IMAGE_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA-$CI_COMMIT_TIMESTAMP
|
|
||||||
LATEST_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:latest
|
LATEST_TAG: $CI_REGISTRY_IMAGE/$APP_NAME:latest
|
||||||
script:
|
script:
|
||||||
- docker build -t $IMAGE_TAG -f $DOCKERFILE_PATH .
|
- docker build -t $IMAGE_TAG -f $DOCKERFILE_PATH .
|
||||||
|
Loading…
Reference in New Issue
Block a user