From 5bad80d5a198bbe77a90aa7aade992dbf87a1d51 Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 18 Dec 2022 01:19:11 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B1=D0=BE=D1=80=D0=BA=D0=B0=20drone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 9cfcd1f..cd075a3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,7 +13,9 @@ steps: from_secret: DOCKER_IMAGE_NAME DOCKER_REGISTRY_USER: from_secret: DOCKER_REGISTRY_USER - DOCKER_HOST: tcp://docker:2376 + volumes: + - name: dockersock + path: /var/run commands: - sleep 15 - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin @@ -28,6 +30,13 @@ trigger: # - refs/tags/v.*.*.* services: -- name: docker - image: docker:20.10.22-dind-alpine3.17 - privileged: true \ No newline at end of file + - name: docker + image: docker:20.10.22-dind-alpine3.17 + privileged: true + volumes: + - name: dockersock + path: /var/run + +volumes: + - name: dockersock + temp: {} \ No newline at end of file