This commit is contained in:
parent
27a551fa4f
commit
3ec0d51003
1 changed files with 9 additions and 9 deletions
18
.drone.yml
18
.drone.yml
|
@ -16,13 +16,13 @@ steps:
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- master
|
- master
|
||||||
image: docker:latest
|
image: plugins/docker
|
||||||
environment:
|
settings:
|
||||||
REGISTRY: git2.zettoit.eu/zettoit/bin
|
repo: git2.zettoit.eu/zettoit/bin
|
||||||
REGISTRY_USER: droneci
|
username: droneci
|
||||||
REGISTRY_PASSWD:
|
password:
|
||||||
from_secret: REGISTRY_PASSWD
|
from_secret: REGISTRY_PASSWD
|
||||||
commands:
|
registry: git2.zettoit.eu
|
||||||
- docker login -u $REGISTRY_USER -p $REGISTRY_PASSWD $REGISTRY
|
tags:
|
||||||
- docker build -t $REGISTRY:latest . -f Dockerfile
|
- latest
|
||||||
- docker push $REGISTRY:latest
|
- master
|
||||||
|
|
Loading…
Reference in a new issue