1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

CI: use branch name instead of commit to tag images, deactivate kaniko cache

This commit is contained in:
Sonja Happ 2021-01-22 11:33:01 +01:00
parent 0bc990faf4
commit a6d25617c1

View file

@ -1,6 +1,6 @@
variables:
GIT_SUBMODULE_STRATEGY: normal
DOCKER_TAG: ${CI_COMMIT_SHORT_SHA}
DOCKER_TAG: ${CI_COMMIT_BRANCH}
DOCKER_IMAGE: ${CI_REGISTRY_IMAGE}
cache:
@ -42,8 +42,5 @@ deploy:
--dockerfile ${CI_PROJECT_DIR}/Dockerfile
--destination ${DOCKER_IMAGE}:${DOCKER_TAG}
--snapshotMode=redo
--cache=true
--cache-ttl=12h
only:
refs:
- master
dependencies:
- build