From a2e77fc47ff28fb27f747570846a18c3a8fd47f0 Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 7 Oct 2022 12:57:17 +0200 Subject: [PATCH] [DRONE] Rewrite build and publish CI --- .drone.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6aef5cc..af5f3b0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,10 +11,6 @@ steps: pull: 'always' privileged: true - volumes: - - name: dockersock - path: /var/run - environment: DOCKER_USERNAME: from_secret: 'docker_username' @@ -24,5 +20,6 @@ steps: commands: - 'sleep 10' - 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker.io' + - 'export DOCKER_HOST="tcp://localhost:2375"' - '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'