|
|
|
@ -15,6 +15,16 @@ steps: |
|
|
|
target: /root/docker/trash-api/ |
|
|
|
target: /root/docker/trash-api/ |
|
|
|
source: . |
|
|
|
source: . |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: build-docker-image |
|
|
|
|
|
|
|
image: appleboy/ssh |
|
|
|
|
|
|
|
settings: |
|
|
|
|
|
|
|
host: 192.168.0.129 |
|
|
|
|
|
|
|
username: username_deploy |
|
|
|
|
|
|
|
password: password_deploy |
|
|
|
|
|
|
|
script: |
|
|
|
|
|
|
|
- cd /root/docker/trash-api/ |
|
|
|
|
|
|
|
- docker build -f Dockerfile-api -t trash-api . |
|
|
|
|
|
|
|
|
|
|
|
- name: telegram notification |
|
|
|
- name: telegram notification |
|
|
|
image: appleboy/drone-telegram |
|
|
|
image: appleboy/drone-telegram |
|
|
|
settings: |
|
|
|
settings: |
|
|
|
|