with push?
This commit is contained in:
parent
166859618f
commit
9e5460c1c0
40
.drone.yml
40
.drone.yml
@ -2,15 +2,33 @@ kind: pipeline
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: test
|
# - name: build
|
||||||
image: docker:dind
|
# image: docker:dind
|
||||||
volumes:
|
# volumes:
|
||||||
- name: dockersock
|
# - name: dockersock
|
||||||
path: /var/run/docker.sock
|
# path: /var/run/docker.sock
|
||||||
commands:
|
# commands:
|
||||||
- docker build .
|
# - docker build . -t git.leotec.io/leo/examplewebservice
|
||||||
|
# # - echo $docker_pwd | docker login --username $docker_user --password-stdin git.leotec.io
|
||||||
|
# # - docker login --username $docker_user --password $docker_pwd git.leotec.io
|
||||||
|
# - docker push git.leotec.io/leo/examplewebservice
|
||||||
|
|
||||||
volumes:
|
- name: docker
|
||||||
- name: dockersock
|
image: plugins/docker
|
||||||
host:
|
settings:
|
||||||
path: /var/run/docker.sock
|
repo: git.leotec.io/leo/examplewebservice
|
||||||
|
registry: git.leotec.io
|
||||||
|
username:
|
||||||
|
from_secret: docker_user
|
||||||
|
password:
|
||||||
|
from_secret: docker_pwd
|
||||||
|
purge: false
|
||||||
|
debug: true
|
||||||
|
|
||||||
|
# image_pull_secrets:
|
||||||
|
# - dockerconfig
|
||||||
|
|
||||||
|
# volumes:
|
||||||
|
# - name: dockersock
|
||||||
|
# host:
|
||||||
|
# path: /var/run/docker.sock
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user