From 592e2943c5f82a7bd3a40bee862de3d2282d0f3b Mon Sep 17 00:00:00 2001 From: Simon Cornet Date: Fri, 7 Oct 2022 14:12:13 +0200 Subject: [PATCH] [DRONE] Rewrite build and publish CI --- .drone.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index 41289cd..f6ff552 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,13 +11,6 @@ steps: pull: 'always' privileged: true - environment: - IMG: 'rakepanorama/ansible-deployment-container' - DOCKER_USER: - from_secret: 'docker_username' - DOCKER_PASS: - from_secret: 'docker_password' - volumes: - name: 'docker_socket' path: '/var/run/docker.sock' @@ -25,7 +18,7 @@ steps: commands: - 'echo building image ${IMG}' - 'docker login -u rakepanorama --password=8qE9RvDSFt2KNfyQ docker.io' - - 'docker build -t ${IMG}:v0.9 -t ${IMG}:latest -f Dockerfile.linux.amd64 .' + - 'docker build -t rakepanorama/ansible-deployment-container:v0.9 -t rakepanorama/ansible-deployment-container:latest -f Dockerfile.linux.amd64 .' - 'docker push -a' volumes: