This commit is contained in:
parent
9eb1b24f01
commit
2d892c8843
1 changed files with 14 additions and 11 deletions
|
@ -1,17 +1,20 @@
|
||||||
pipeline:
|
pipeline:
|
||||||
docker-master:
|
env-info:
|
||||||
# group: docker
|
image: ubuntu:latest
|
||||||
image: plugins/docker
|
|
||||||
# environment:
|
|
||||||
# - DOCKER_HOST=tcp://docker:2375
|
|
||||||
commands:
|
commands:
|
||||||
- docker ps
|
- printenv
|
||||||
|
|
||||||
|
docker-master:
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: tphoney/test
|
||||||
|
tags: latest
|
||||||
|
secret: id=mysecret,src=secret-file
|
||||||
|
username:
|
||||||
|
from_secret: docker_username
|
||||||
|
password:
|
||||||
|
from_secret: docker_password
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
branch: 'master'
|
branch: 'master'
|
||||||
|
|
||||||
#services:
|
|
||||||
# docker:
|
|
||||||
# image: docker:dind
|
|
||||||
## commands: [ "--storage-driver=vfs", "--tls=false" ]
|
|
||||||
|
|
Loading…
Reference in a new issue