fix docker step
This commit is contained in:
parent
f8ba19f2f0
commit
852a19a49c
1 changed files with 12 additions and 2 deletions
14
.drone.yml
14
.drone.yml
|
@ -27,8 +27,18 @@ steps:
|
||||||
- pull_request
|
- pull_request
|
||||||
- name: build_docker_image
|
- name: build_docker_image
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
commands:
|
settings:
|
||||||
- docker image build -f docker/Dockerfile .
|
registry: gittr.ch
|
||||||
|
username: manuel
|
||||||
|
password:
|
||||||
|
from_secret: docker-token
|
||||||
|
repo: java/labyrinth-server
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
dockerfile: docker/Dockerfile
|
||||||
|
dry_run: true
|
||||||
|
auto_tag: true
|
||||||
|
auto_tag_suffix: "-ci"
|
||||||
when:
|
when:
|
||||||
branch:
|
branch:
|
||||||
- feature/docker
|
- feature/docker
|
||||||
|
|
Loading…
Reference in a new issue