[DRONE] Rewrite build and publish CI
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
ae2c293e8a
commit
e279db465f
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user