Skip to content

tenfold/drone-volume-cache

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

drone-volume-cache

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.

Docker

Build the docker image by running:

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

Usage

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" \
  -e DRONE_JOB_NUMBER=0 \
  -v $(pwd):$(pwd) \
  -v /tmp/cache:/cache \
  -w $(pwd) \
  drillster/drone-volume-cache

About

Drone plugin for caching to a locally mounted volume

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%