From e279db465f984ad7c637b43360b3130c0f21380d Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 7 Oct 2022 12:48:31 +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 b15335a..09eeec2 100644 --- a/.drone.yml +++ b/.drone.yml @@ -15,10 +15,10 @@ steps: from_secret: 'docker_username' DOCKER_PASSWORD: from_secret: 'docker_password' - DOCKER_HOST: 'tcp://localhost:2375' commands: - 'sleep 1' - - 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD' + - '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'