docker-seafile/.drone.yml
2018-11-10 17:26:26 +01:00

20 lines
574 B
YAML

pipeline:
nginx-conf:
image: nginx:mainline
commands:
- cp nginx.conf /etc/nginx/
- nginx -t
docker:
image: plugins/docker
repo: repo.shimun.net/shimun/seafile
tag: alpine-sq
registry: repo.shimun.net
storage_path: /drone/.docker
secrets: ["docker_username", "docker_password"]
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
experimental: true
squash: true
pull_image: false