fix(CI): 尝试挂 docker.sock
continuous-integration/drone/push Build is failing Details

develop
Yosheng 2023-08-05 21:13:53 +08:00
parent 7173c9e093
commit 5402ce1d34
1 changed files with 7 additions and 0 deletions

View File

@ -1,6 +1,10 @@
kind: pipeline
type: docker
name: deployment
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
steps:
- name: check
image: alpine
@ -24,6 +28,9 @@ steps:
HTTP_PROXY=http://192.168.31.254:7890
HTTPS_PROXY=http://192.168.31.254:7890
custom_dns: 8.8.8.8
volumes:
- name: dockersock
path: /var/run/docker.sock
#trigger:
# branch: