From 5e59c40d172bcfee00fa67e978f14532f0576aac Mon Sep 17 00:00:00 2001 From: Struchkov Mark Date: Sun, 18 Dec 2022 01:00:11 +0300 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .drone.yml | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/.drone.yml b/.drone.yml index 54824e6..8e03453 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,6 +6,7 @@ steps: - name: docker build an publish image: docker:dind + privileged: true environment: DOCKER_REGISTRY_TOKEN: from_secret: DOCKER_REGISTRY_TOKEN @@ -17,7 +18,7 @@ steps: - name: dockersock path: /var/run commands: - - sleep 15 + # - sleep 15 - echo "$DOCKER_REGISTRY_TOKEN" | docker login docker.io --username $DOCKER_REGISTRY_USER --password-stdin - docker build --no-cache -t "$DOCKER_IMAGE_NAME:latest" . - docker push "$DOCKER_IMAGE_NAME:latest" @@ -29,14 +30,14 @@ trigger: # ref: # - refs/tags/v.*.*.* -services: -- name: docker - image: docker:dind - privileged: true - volumes: - - name: dockersock - path: /var/run +# services: +# - name: docker +# image: docker:dind +# privileged: true +# volumes: +# - name: dockersock +# path: /var/run -volumes: -- name: dockersock - temp: {} \ No newline at end of file +# volumes: +# - name: dockersock +# temp: {} \ No newline at end of file