Use different docker plugin
This commit is contained in:
parent
f751588eba
commit
335e8a5a6e
1 changed files with 5 additions and 11 deletions
16
.drone.yml
16
.drone.yml
|
@ -3,17 +3,11 @@ pipeline:
|
||||||
build-web:
|
build-web:
|
||||||
image: registry.daemons.it/hugo:latest
|
image: registry.daemons.it/hugo:latest
|
||||||
build-docker:
|
build-docker:
|
||||||
image: plugins/docker
|
image: docker
|
||||||
settings:
|
commands:
|
||||||
repo: r.daemons.it/baddaemons
|
- docker build r.daemons.it/baddaemons
|
||||||
registry: r.daemons.it
|
- docker push r.daemons.it/baddaemons
|
||||||
tags:
|
secrets: [docker_user, docker_password]
|
||||||
- latest
|
|
||||||
username:
|
|
||||||
from_secret: docker_username
|
|
||||||
password:
|
|
||||||
from_secret: docker_password
|
|
||||||
debug: true
|
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue