From 873963bdc0446f48424d5b0e338e8ddcf93fa40f Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 18 Dec 2022 01:21:41 +0300 Subject: [PATCH] =?UTF-8?q?=20=D0=9D=D0=B0=D1=81=D1=82=D1=80=D0=BE=D0=B9?= =?UTF-8?q?=D0=BA=D0=B0=20CICD=20=D1=81=20=D0=BF=D0=BE=D0=BC=D0=BE=D1=89?= =?UTF-8?q?=D1=8C=D1=8E=20Drone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.drone.yml b/.drone.yml index dd7cd19..3571fe5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -20,8 +20,10 @@ steps: from_secret: DOCKER_IMAGE_NAME DOCKER_REGISTRY_USER: from_secret: DOCKER_REGISTRY_USER + volumes: + - name: dockersock + path: /var/run commands: - - sleep 15 - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin - docker buildx create --use - docker buildx build --push --platform linux/amd64,linux/arm64/v8 -t "$DOCKER_IMAGE_NAME:develop" . @@ -32,15 +34,12 @@ trigger: services: - name: docker - image: docker:dind + image: docker:20.10.22-dind-alpine3.17 privileged: true volumes: - name: dockersock path: /var/run volumes: - - name: m2 - host: - path: /drone/volume/m2 - name: dockersock - temp: { } \ No newline at end of file + temp: {} \ No newline at end of file