[DRONE] Rewrite build and publish CI
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
0ae8ecbc7e
commit
592e2943c5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user