From ead83dd02f203f4ee13326079c1b463f46458d80 Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 14 Oct 2024 13:54:14 +0330 Subject: [PATCH] cicd: add docker service --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index ebac222..d8cd8a0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,9 +11,17 @@ volumes: host: path: /var/run/docker.sock +services: + - name: docker + image: docker:dind + privileged: true + volumes: + - name: dockersock + path: /var/run/docker.sock + steps: - name: setup_image - image: docker:dind + image: docker volumes: - name: dockersock path: /var/run/docker.sock