| @@ -22,6 +22,9 @@ steps: | |||||
| - mv target/webssh.war /home/wars/ | - mv target/webssh.war /home/wars/ | ||||
| - name: restart | - name: restart | ||||
| image: docker | image: docker | ||||
| volumes: | |||||
| - name: docker-dir | |||||
| path: /var/run/docker.sock | |||||
| commands: | commands: | ||||
| - docker restart laughing_murdock | - docker restart laughing_murdock | ||||
| @@ -32,6 +35,9 @@ volumes: | |||||
| - name: maven-dir | - name: maven-dir | ||||
| host: | host: | ||||
| path: /home/ww/m2/repository | path: /home/ww/m2/repository | ||||
| - name: docker-dir | |||||
| host: | |||||
| path: /var/run/docker.sock | |||||
| trigger: | trigger: | ||||
| branch: | branch: | ||||