From f610ba74066d028efc697c3d4e4e7dec634ec5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Tue, 2 Nov 2021 15:40:21 +0100 Subject: [PATCH] Blah --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index d6287a2..99dbd82 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,13 +4,16 @@ name: image building steps: - name: build&push - image: docker:20.10.10-dind + image: docker:20.10.10 environment: username: robot$library+droneci password: from_secret: repo_password repo: harbor.hq.rosti.cz/library/builder tag: 35 + volumes: + - /var/run/docker.sock:/var/run/docker.sock + - /drone/src/data:/drone/src/data commands: - echo "$password" | docker login -u $username --password-stdin harbor.hq.rosti.cz - docker build -t $repo:$tag .