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:
parent
0bc990faf4
commit
a6d25617c1
1 changed files with 3 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue