fix(CI): 调整drone-ssh配置
continuous-integration/drone/push Build encountered an error Details

develop
zhangyousheng 2023-08-14 10:03:00 +08:00
parent 93f213aaed
commit 53d47367b7
1 changed files with 8 additions and 5 deletions

View File

@ -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