ci: Do not purge (reuse cache)
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-01-16 02:17:38 +01:00
parent f10eb465b2
commit ddcac30b89

View file

@ -31,6 +31,7 @@ steps:
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
repo: *docker_repo
tags: "${DRONE_COMMIT_SHA:0:8}"
purge: false
- name: publish:commit_branch
image: plugins/docker
@ -45,6 +46,7 @@ steps:
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
repo: *docker_repo
tags: "latest_${DRONE_BRANCH/\\//-}"
purge: false
when:
branch:
- "master"
@ -59,6 +61,7 @@ steps:
cache_from: "$${DOCKER_REPO}:latest_${DRONE_BRANCH/\\//-}"
repo: *docker_repo
tags: latest
purge: false
when:
branch:
- master