[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:56:08 +02:00
parent 085312fbaf
commit 7031dddf9a

View File

@ -22,7 +22,7 @@ steps:
from_secret: 'docker_password' from_secret: 'docker_password'
commands: commands:
- 'sleep 1' - 'sleep 10'
- 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker.io' - 'docker login -u $DOCKER_USERNAME -p $DOCKER_PASSWORD docker.io'
- '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'