From 7c95dc52ab842fa9558a717c83f84295af8007a9 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Fri, 10 May 2024 12:27:14 +0300 Subject: [PATCH] fix for pipeline --- .drone.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 553ac51..efaa318 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,13 +1,13 @@ kind: pipeline -type: exec +type: docker name: default -platform: - os: linux - arch: amd64 - steps: - name: build and push + image: docker:dind + volumes: + - name: dockersock + path: /var/run commands: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - make docker_release @@ -15,6 +15,14 @@ steps: branch: - master +services: + - name: docker + image: docker:dind + privileged: true + volumes: + - name: dockersock + path: /var/run + trigger: event: - push