docker-seafile/.drone.yml
2020-02-22 14:34:35 +01:00

22 lines
600 B
YAML

kind: pipeline
name: default
steps:
- name: nginx-conf
image: nginx:mainline
commands:
- cp -r nginx /etc/nginx
- nginx -t
- name: docker
image: plugins/docker
repo: repo.shimun.net/shimun/seafile
auto_tag: true
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
when:
event: tag