Skip to content
Drone plugin for caching to a locally mounted volume
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information. 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 Update Aug 15, 2017 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) \
You can’t perform that action at this time.