update drone yaml
This commit is contained in:
parent
c4162eb700
commit
27b1aa1db4
12
.drone.yml
12
.drone.yml
@ -1,13 +1,15 @@
|
|||||||
pipeline:
|
kind: pipeline
|
||||||
nginx-conf:
|
name: default
|
||||||
|
steps:
|
||||||
|
- name: nginx-conf
|
||||||
image: nginx:mainline
|
image: nginx:mainline
|
||||||
commands:
|
commands:
|
||||||
- cp -r nginx /etc/nginx
|
- cp -r nginx /etc/nginx
|
||||||
- nginx -t
|
- nginx -t
|
||||||
docker:
|
- name: docker
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: repo.shimun.net/shimun/seafile
|
repo: repo.shimun.net/shimun/seafile
|
||||||
tag: riffol
|
auto_tag: true
|
||||||
registry: repo.shimun.net
|
registry: repo.shimun.net
|
||||||
storage_path: /drone/.docker
|
storage_path: /drone/.docker
|
||||||
secrets: ["docker_username", "docker_password"]
|
secrets: ["docker_username", "docker_password"]
|
||||||
@ -15,3 +17,5 @@ pipeline:
|
|||||||
cache_from: ["repo.shimun.net/shimun/seafile", "repo.shimun.net/shimun/seafile:nginx-deb", "repo.shimun.net/shimun/seafile:alpine"]
|
cache_from: ["repo.shimun.net/shimun/seafile", "repo.shimun.net/shimun/seafile:nginx-deb", "repo.shimun.net/shimun/seafile:alpine"]
|
||||||
use_cache: true
|
use_cache: true
|
||||||
pull_image: false
|
pull_image: false
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
Loading…
x
Reference in New Issue
Block a user