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