diff --git a/.drone.yml b/.drone.yml index aa29488..b40f5da 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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