Use different docker plugin

This commit is contained in:
drymer 2018-12-05 06:14:28 +01:00
parent f751588eba
commit 335e8a5a6e
Signed by: drymer
GPG Key ID: A307D64D5DDFDAAD
1 changed files with 5 additions and 11 deletions

View File

@ -3,17 +3,11 @@ pipeline:
build-web:
image: registry.daemons.it/hugo:latest
build-docker:
image: plugins/docker
settings:
repo: r.daemons.it/baddaemons
registry: r.daemons.it
tags:
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
debug: true
image: docker
commands:
- docker build r.daemons.it/baddaemons
- docker push r.daemons.it/baddaemons
secrets: [docker_user, docker_password]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
when: