ci: Do not purge (reuse cache)
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f10eb465b2
commit
ddcac30b89
1 changed files with 3 additions and 0 deletions
|
@ -31,6 +31,7 @@ steps:
|
||||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: *docker_repo
|
repo: *docker_repo
|
||||||
tags: "${DRONE_COMMIT_SHA:0:8}"
|
tags: "${DRONE_COMMIT_SHA:0:8}"
|
||||||
|
purge: false
|
||||||
|
|
||||||
- name: publish:commit_branch
|
- name: publish:commit_branch
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
@ -45,6 +46,7 @@ steps:
|
||||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: *docker_repo
|
repo: *docker_repo
|
||||||
tags: "latest_${DRONE_BRANCH/\\//-}"
|
tags: "latest_${DRONE_BRANCH/\\//-}"
|
||||||
|
purge: false
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- "master"
|
- "master"
|
||||||
|
@ -59,6 +61,7 @@ steps:
|
||||||
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
|
||||||
repo: *docker_repo
|
repo: *docker_repo
|
||||||
tags: latest
|
tags: latest
|
||||||
|
purge: false
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
|
|
Loading…
Reference in a new issue