Enable caching
All checks were successful
the build was successful

This commit is contained in:
Valentin Brandl 2018-10-24 14:31:37 +02:00
parent 6d9895a152
commit 161032117e
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -1,11 +1,11 @@
pipeline:
# restore-cache:
# image: drillster/drone-volume-cache
# restore: true
# mount:
# - build
# volumes:
# - /home/gitea/gitea/drone_build_cache/notes:/cache
restore-cache:
image: drillster/drone-volume-cache
restore: true
mount:
- build
volumes:
- /home/gitea/gitea/drone_build_cache/notes:/cache
build:
image: vbrandl/notes-builder:latest
@ -29,10 +29,10 @@ pipeline:
when:
branch: master
# rebuild-cache:
# image: drillster/drone-volume-cache
# rebuild: true
# mount:
# - build
# volumes:
# - /home/gitea/gitea/drone_build_cache/notes:/cache
rebuild-cache:
image: drillster/drone-volume-cache
rebuild: true
mount:
- build
volumes:
- /home/gitea/gitea/drone_build_cache/notes:/cache