From 1d5bf8b6ca1f60d499e424f00cca121de2d40398 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Tue, 7 Sep 2021 21:56:22 +0200 Subject: [PATCH] Add docker socket linking to building container --- .drone.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.drone.yml b/.drone.yml index 50e99ab..694a9eb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -9,6 +9,9 @@ platform: steps: - name: deployment image: alpine + volumes: + - name: host_docker_socket + path: /var/run/docker.sock commands: - echo "Setting up internal docker cli" - apk update && apk add docker docker-compose @@ -20,6 +23,11 @@ steps: branch: - ci-testing +volumes: + - name: host_docker_socket + host: + path: /var/run/docker.sock + node: host: socrates