17 lines
536 B
YAML
17 lines
536 B
YAML
pipeline:
|
|
nginx-conf:
|
|
image: nginx:mainline
|
|
commands:
|
|
- cp nginx.conf /etc/nginx/
|
|
- nginx -t
|
|
docker:
|
|
custom_dns: ["172.16.28.1", "8.8.8.8"]
|
|
image: plugins/docker
|
|
repo: repo.shimun.net/shimun/seafile
|
|
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
|