set up proper drone.io caching

This commit is contained in:
Paul Voss 2016-08-13 13:03:11 +02:00
parent 139f8198fb
commit f84ec18412

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: build/ansible-$$OS.tar load: cache/image-$$OS.tar
save: save:
destination: build/ansible-$$OS.tar destination: cache/image-$$OS.tar
tag: $$OS tag: $$OS
repo: chmuul/ansible repo: chmuul/ansible
tag: tag:
@ -19,5 +19,10 @@ matrix:
- ubuntu-16.04 - ubuntu-16.04
- fedora-24 - fedora-24
cache:
mount:
- cache
- .git
branches: branches:
- master - master