docker-seafile/.drone.yml
2018-11-10 15:49:13 +01:00

18 lines
531 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
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
pull_image: false