utilise --cache-from PR

This commit is contained in:
shim_
2018-11-10 15:23:41 +01:00
parent f3fde90cdc
commit 3e8cadf6b8

View File

@@ -5,10 +5,12 @@ pipeline:
- cp nginx.conf /etc/nginx/
- nginx -t
docker:
image: repo.shimun.net/drone-docker
custom_dns: ["172.16.28.1", "8.8.8.8"]
image: plugins/docker
repo: repo.shimun.net/shimun/seafile
registry: repo.shimun.net
cache_from: 'repo.shimun.net/seafile:latest'
no_cache: false
storage_path: /drone/.docker
secrets: ["docker_username", "docker_password"]
pull_image: false
storage_path: /drone/.docker
cache_from: ["repo.shimun.net/shimun/seafile", "repo.shimun.net/shimun/seafile:nginx-deb", "repo.shimun.net/shimun/seafile:alpine"]
use_cache: true