From 852a19a49cfc4d06b3ee18f7aeac6ca02f215d08 Mon Sep 17 00:00:00 2001 From: Manuel Friedli Date: Fri, 31 Mar 2023 10:33:02 +0200 Subject: [PATCH] fix docker step --- .drone.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index f9d83bf..08af83f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,8 +27,18 @@ steps: - pull_request - name: build_docker_image image: plugins/docker - commands: - - docker image build -f docker/Dockerfile . + settings: + 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: branch: - feature/docker