fix docker step

This commit is contained in:
Manuel Friedli 2023-03-31 10:33:02 +02:00 committed by Gitea
parent f8ba19f2f0
commit 852a19a49c

View file

@ -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