realized drone has a seperate cache for each branch and matrix

This commit is contained in:
Paul Voss 2016-08-13 13:10:42 +02:00
parent eb4ffd60ee
commit b6ccaefa8f

View File

@ -4,9 +4,9 @@ publish:
password: $$REGISTRY_PASSWORD
email: $$REGISTRY_EMAIL
file: Dockerfile.$$OS
load: cache/image-$$OS.tar
load: image.tar
save:
destination: cache/image-$$OS.tar
destination: image.tar
tag: $$OS
repo: chmuul/ansible
tag:
@ -21,8 +21,8 @@ matrix:
cache:
mount:
- /drone/cache
- /drone/.git
- image.tar
- .git
branches:
- master