ext cache

This commit is contained in:
shimun 2018-09-12 20:38:39 +02:00
parent e08fac47fd
commit e968a9b610

View File

@ -1,18 +1,40 @@
pipeline: pipeline:
dl-cache:
image: repo.shimun.net/drone-plugins/davfile
url: https://seaf.shimun.net/seafdav/drone/
secrets: ["docker_username", "docker_password"]
file: cache.tar.gz
secrets: ["dav_username", "dav_password"]
ex-cache:
image: repo.shimun.net/drone-plugins/tar
dest: /drone/docker
file: cache.tar.gz
docker: docker:
image: plugins/docker image: plugins/docker
repo: repo.shimun.net/shimun/sauerbraten repo: repo.shimun.net/shimun/sauerbraten
registry: repo.shimun.net registry: repo.shimun.net
secrets: ["docker_username", "docker_password"] secrets: ["docker_username", "docker_password"]
storage_path: /drone/cache/docker storage_path: /drone/docker
use_cache: true use_cache: true
mk-cache:
image: repo.shimun.net/drone-plugins/tar
dest: cache.tar.gz
file: /drone/docker
up-cache:
image: repo.shimun.net/drone-plugins/davfile
url: https://seaf.shimun.net/seafdav/drone/
upload: true
file: cache.tar.gz
secrets: ["dav_username", "dav_password"]
group: fin
docker-p: docker-p:
image: plugins/docker image: plugins/docker
repo: repo.shimun.net/sauerbraten repo: repo.shimun.net/sauerbraten
registry: repo.shimun.net registry: repo.shimun.net
secrets: ["docker_username", "docker_password"] secrets: ["docker_username", "docker_password"]
use_cache: true use_cache: true
storage_path: /drone/cache/docker storage_path: /drone/docker
squash: true squash: true
when: when:
event: tag event: tag
group: fin