diff --git a/.drone.yml b/.drone.yml index 5ec0584..e9f06d6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,10 +19,16 @@ steps: from_secret: 'docker_password' volumes: - - /var/run/docker.sock:/var/run/docker.sock + - name: 'docker_socket' + path: '/var/run/docker.sock' commands: - - 'echo building image ${IMG}' - - 'docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} docker.io' - - 'docker build -t ${IMG}:v0.9 -t ${IMG}:latest -f Dockerfile.linux.amd64 .' - - 'docker push -a' + - 'echo building image ${IMG}' + - 'docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} docker.io' + - 'docker build -t ${IMG}:v0.9 -t ${IMG}:latest -f Dockerfile.linux.amd64 .' + - 'docker push -a' + +volumes: +- name: 'docker_socket' + host: + path: '/var/run/docker.sock'