From 5402ce1d34227799d05af02c9f44ad6e596a1971 Mon Sep 17 00:00:00 2001 From: Yosheng Date: Sat, 5 Aug 2023 21:13:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(CI):=20=E5=B0=9D=E8=AF=95=E6=8C=82=20docker?= =?UTF-8?q?.sock?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.drone.yml b/.drone.yml index 1baf964..fea9047 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: