docker-seafile/.drone.yml
2018-11-11 18:32:35 +01:00

18 lines
530 B
YAML

pipeline:
nginx-conf:
image: nginx:mainline
commands:
- cp -r nginx /etc/nginx
- nginx -t
docker:
image: plugins/docker
repo: repo.shimun.net/shimun/seafile
tag: no_media
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