utilise --cache-from PR
This commit is contained in:
10
.drone.yml
10
.drone.yml
@@ -5,10 +5,12 @@ pipeline:
|
|||||||
- cp nginx.conf /etc/nginx/
|
- cp nginx.conf /etc/nginx/
|
||||||
- nginx -t
|
- nginx -t
|
||||||
docker:
|
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
|
repo: repo.shimun.net/shimun/seafile
|
||||||
registry: repo.shimun.net
|
registry: repo.shimun.net
|
||||||
cache_from: 'repo.shimun.net/seafile:latest'
|
storage_path: /drone/.docker
|
||||||
no_cache: false
|
|
||||||
secrets: ["docker_username", "docker_password"]
|
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
|
||||||
|
Reference in New Issue
Block a user