[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:49:07 +02:00
parent e279db465f
commit b9c4c73ea2

View File

@ -18,7 +18,7 @@ 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"' - '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'