[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
6287a40649
commit
0a3d04a973
10
.drone.yml
10
.drone.yml
@ -18,10 +18,10 @@ steps:
|
||||
from_secret: 'docker_password'
|
||||
|
||||
volumes:
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
- '/var/run/docker.sock:/var/run/docker.sock'
|
||||
|
||||
commands:
|
||||
- 'echo building image ${IMG}'
|
||||
- 'docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} docker.io'
|
||||
- 'docker build -t ${IMG}:v0.9 -t ${IMG}:latest -f Dockerfile.linux.amd64 .'
|
||||
- 'docker push -a'
|
||||
- 'echo building image ${IMG}'
|
||||
- 'docker login -u ${DOCKER_USER} -p ${DOCKER_PASS} docker.io'
|
||||
- 'docker build -t ${IMG}:v0.9 -t ${IMG}:latest -f Dockerfile.linux.amd64 .'
|
||||
- 'docker push -a'
|
||||
|
Loading…
Reference in New Issue
Block a user