From 893cf6314259d25a1be94d3bd00fb19a6e90dcdd Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 7 Oct 2022 13:04:40 +0200 Subject: [PATCH] [DRONE] Rewrite build and publish CI --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index c49e346..2475c3f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -10,7 +10,7 @@ steps: name: 'publish' pull: 'always' privileged: true - command: [ '-H', 'unix:///drone/docker.sock' ] + command: [ '-H', 'unix:///var/run/docker.sock' ] environment: DOCKER_USERNAME: @@ -21,6 +21,6 @@ steps: commands: - 'sleep 10' - 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker.io' - - 'export DOCKER_HOST=unix:///drone/docker.sock' + - 'export DOCKER_HOST=unix:///var/run/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'