[DRONE] Rewrite build and publish CI
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Simon Cornet 2022-10-07 12:54:33 +02:00
parent 48ca4e9755
commit 085312fbaf

View File

@ -24,6 +24,5 @@ steps:
commands: commands:
- 'sleep 1' - 'sleep 1'
- 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker.io' - '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 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' - 'docker push -a rakepanorama/ansible-deployment-container'