diff --git a/.drone.yml b/.drone.yml index 67a655d..af8d37a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -4,10 +4,15 @@ type: docker name: default steps: - - name: Build docker image - image: docker:latest - volumes: - - name: docker_sock - path: /var/run/docker.sock - commands: - - docker build --no-cache -t nsd-docker . +- name: Build docker image + image: docker:latest + volumes: + - name: docker_sock + path: /var/run/docker.sock + commands: + - docker build --no-cache -t nsd-docker . + +volumes: +- name: docker_sock + host: + path: /var/run/docker.sock