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 password: $$REGISTRY_PASSWORD
email: $$REGISTRY_EMAIL email: $$REGISTRY_EMAIL
file: Dockerfile.$$OS file: Dockerfile.$$OS
load: cache/image-$$OS.tar load: image.tar
save: save:
destination: cache/image-$$OS.tar destination: image.tar
tag: $$OS tag: $$OS
repo: chmuul/ansible repo: chmuul/ansible
tag: tag:
@ -21,8 +21,8 @@ matrix:
cache: cache:
mount: mount:
- /drone/cache - image.tar
- /drone/.git - .git
branches: branches:
- master - master