add drone
This commit is contained in:
parent
f1636345dc
commit
736f6557e3
20
.drone.yml
Normal file
20
.drone.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
steps:
|
||||
- name: deploy
|
||||
image: docker/compose
|
||||
volumes:
|
||||
- name: cache
|
||||
path: /var/run/docker.sock
|
||||
commands:
|
||||
- docker-compose up -d --build
|
||||
when:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
- push
|
||||
volumes:
|
||||
- name: cache
|
||||
host:
|
||||
path: /var/run/docker.sock
|
Loading…
Reference in New Issue
Block a user