diff --git a/.drone.yml b/.drone.yml index c3f5216..ac7d0d4 100644 --- a/.drone.yml +++ b/.drone.yml @@ -14,7 +14,17 @@ steps: port: 22 target: /root/docker/trash-api/ 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 image: appleboy/drone-telegram settings: