diff --git a/.drone.yml b/.drone.yml index af5f3b0..c49e346 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,6 +10,7 @@ steps: name: 'publish' pull: 'always' privileged: true + command: [ '-H', 'unix:///drone/docker.sock' ] environment: DOCKER_USERNAME: @@ -20,6 +21,6 @@ steps: commands: - 'sleep 10' - 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker.io' - - 'export DOCKER_HOST="tcp://localhost:2375"' + - 'export DOCKER_HOST=unix:///drone/docker.sock' - 'docker build --network host -t rakepanorama/ansible-deployment-container:v0.9 -t rakepanorama/ansible-deployment-container:latest -f Dockerfile.linux.amd64 .' - 'docker push -a rakepanorama/ansible-deployment-container'