This commit is contained in:
parent
f006660aee
commit
3028992285
1 changed files with 11 additions and 5 deletions
16
.drone.yml
16
.drone.yml
|
@ -15,8 +15,14 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
image: docker:latest
|
image: plugins/docker
|
||||||
commands:
|
volumes:
|
||||||
- docker login -u $REGISTRY_USER -p $REGISTRY_PASSWD $REGISTRY
|
- name: dockersock
|
||||||
- docker build -t $REGISTRY/bin:latest . -f Dockerfile
|
path: "/var/run/docker.sock"
|
||||||
- docker push $REGISTRY/bin:latest
|
settings:
|
||||||
|
username: droneci
|
||||||
|
password:
|
||||||
|
from_secret: REGISTRY_PASSWD
|
||||||
|
repo: git2.zettoit.eu/zettoit/bin
|
||||||
|
tags: latest
|
||||||
|
dockerfile: ./Dockerfile
|
||||||
|
|
Loading…
Reference in a new issue