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: 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: