From 3e8cadf6b892f20266188993aa22f7d5ce1a5a73 Mon Sep 17 00:00:00 2001 From: shim_ <> Date: Sat, 10 Nov 2018 15:23:41 +0100 Subject: [PATCH] utilise --cache-from PR --- .drone.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index ad2fe76..5424978 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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