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 .