Created
January 19, 2018 22:27
-
-
Save fortis/5dd22879f91524b21653ff99d07f49fc to your computer and use it in GitHub Desktop.
drone docker plugins with layers cache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pipeline: | |
restore-cache: | |
image: drillster/drone-volume-cache | |
restore: true | |
ttl: 7 | |
mount: | |
- /drone/docker | |
# Mount the cache volume, needs "Trusted" | |
volumes: | |
- /tmp/cache:/cache | |
build-php: | |
image: plugins/docker | |
repo: 4real/skins-php | |
tags: [ 1, latest ] | |
storage_path: /drone/docker | |
dockerfile: docker/php/Dockerfile | |
secrets: [ docker_username, docker_password ] | |
rebuild-cache: | |
image: drillster/drone-volume-cache | |
rebuild: true | |
mount: | |
- /drone/docker | |
# Mount the cache volume, needs "Trusted" | |
volumes: | |
- /tmp/cache:/cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment