Skip to content

Instantly share code, notes, and snippets.

@ashphy

ashphy/s3-cache.yml

Created Oct 14, 2017
Embed
What would you like to do?
pipeline:
restore-cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
restore: true
build:
image: node
commands:
- npm install
rebuild-cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
rebuild: true
mount:
- node_modules
flush_cache:
image: plugins/s3-cache:1
pull: true
endpoint: http://minio:9000
access_key: DRONE
secret_key: DRONEDRONE
flush: true
flush_age: 14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.