Drone plugin for caching to a locally mounted volume
Switch branches/tags
Nothing to show
Clone or download
mjwwit Merge pull request #21 from virtulabs/master
use a .cache_key file if present
Latest commit 28e139d Jun 18, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
DOCS.md use a .cache_key file if present May 18, 2018
Dockerfile Add TTL feature for cached files and folders Jul 3, 2017
LICENSE Initial commit Dec 7, 2016
README.md Update README.md Aug 15, 2017
cacher.sh use a .cache_key file if present May 18, 2018



drone-volume-cache on Docker Hub

This is a pure Bash Drone 0.5+ plugin to cache files and/or folders to a locally mounted volume.

For more information on how to use the plugin, please take a look at the docs.


Build the docker image by running:

docker build --rm=true -t drillster/drone-volume-cache .


Execute from the working directory:

docker run --rm \
  -e PLUGIN_REBUILD=true \
  -e PLUGIN_MOUNT="./node_modules" \
  -e DRONE_REPO_OWNER="foo" \
  -e DRONE_REPO_NAME="bar" \
  -v $(pwd):$(pwd) \
  -v /tmp/cache:/cache \
  -w $(pwd) \