fix(CI): 调整drone-ssh配置
continuous-integration/drone/push Build encountered an error
Details
continuous-integration/drone/push Build encountered an error
Details
parent
93f213aaed
commit
53d47367b7
13
.drone.yml
13
.drone.yml
|
|
@ -1,10 +1,7 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: deployment
|
||||
volumes:
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
steps:
|
||||
- name: check
|
||||
image: alpine
|
||||
|
|
@ -29,7 +26,8 @@ steps:
|
|||
# - name: dockersock
|
||||
# path: /var/run/docker.sock
|
||||
- name: deploy
|
||||
image: ghcr.io/appleboy/drone-ssh
|
||||
pull: if-not-exists
|
||||
image: appleboy/drone-ssh
|
||||
settings:
|
||||
host: 192.168.31.104
|
||||
port: 22
|
||||
|
|
@ -58,6 +56,11 @@ steps:
|
|||
- name: dockersock
|
||||
path: /var/run/docker.sock
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
host:
|
||||
path: /var/run/docker.sock
|
||||
|
||||
#trigger:
|
||||
# branch:
|
||||
# - master
|
||||
Loading…
Reference in New Issue