diff --git a/.drone.yml b/.drone.yml index 26662c5..7542bc5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,7 +19,7 @@ steps: - hadolint Dockerfile - name: container - image: docker:20 + image: docker:dind environment: username: from_secret: OCI_REGISTRY_USER @@ -35,5 +35,10 @@ steps: - docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_SHA:0:8} - docker push registry.mgrote.net/allzweckcontainer:${DRONE_COMMIT_BRANCH} volumes: - - name: dockersock - path: /var/run + - name: dockersock + path: /var/run/docker.sock + +volumes: +- name: dockersock + host: + path: /var/run/docker.sock