From 84c931ce474febb7d90997caf27ea56354ca627a Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 14 Oct 2024 13:18:51 +0330 Subject: [PATCH] cicd: attempt fix docker dind --- .drone.yml | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9b0feee..05897e7 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,16 +9,24 @@ platform: workspace: path: /opt +volumes: +- name: dockersock + temp: {} + services: - - name: docker - image: docker:dind - privileged: true +- name: docker + image: docker:dind + privileged: true + volumes: + - name: dockersock + path: /var/run steps: - name: setup_image - image: docker:latest - depends_on: - - docker + image: docker:dind + volumes: + - name: dockersock + path: /var/run commands: - until docker info; do echo "Waiting for Docker daemon..."; sleep 1; done - docker build -t ubuntu_amd64 -f ./tools/docker/linux_amd64 .