This commit is contained in:
parent
9eb1b24f01
commit
2d892c8843
1 changed files with 14 additions and 11 deletions
|
@ -1,17 +1,20 @@
|
|||
pipeline:
|
||||
docker-master:
|
||||
# group: docker
|
||||
image: plugins/docker
|
||||
# environment:
|
||||
# - DOCKER_HOST=tcp://docker:2375
|
||||
env-info:
|
||||
image: ubuntu:latest
|
||||
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:
|
||||
event:
|
||||
- push
|
||||
branch: 'master'
|
||||
|
||||
#services:
|
||||
# docker:
|
||||
# image: docker:dind
|
||||
## commands: [ "--storage-driver=vfs", "--tls=false" ]
|
||||
|
|
Loading…
Reference in a new issue