From fc99bd36c7272797ed04b6206969810a7c755508 Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Thu, 16 Mar 2023 14:05:58 +0100 Subject: [PATCH] fix: Fix CI --- .woodpecker.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 86941df..63ab5ac 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,42 +1,42 @@ pipeline: build-latest-container: + when: + branch: main + event: tag image: plugins/docker settings: - registry: https://codeberg.org + registry: https://codeberg.org/v2 username: from_secret: codeberg_username password: from_secret: codeberg_password - repo: keyoxide/keyoxide-web + repo: codeberg.org/keyoxide/keyoxide-web tags: latest - when: - branch: main - event: tag build-tag-container: - image: plugins/docker - settings: - registry: https://codeberg.org - username: - from_secret: codeberg_username - password: - from_secret: codeberg_password - repo: keyoxide/keyoxide-web - auto_tag: true when: branch: main event: tag - - build-dev-container: image: plugins/docker settings: - registry: https://codeberg.org + registry: https://codeberg.org/v2 username: from_secret: codeberg_username password: from_secret: codeberg_password - repo: keyoxide/keyoxide-web - tags: dev + repo: codeberg.org/keyoxide/keyoxide-web + auto_tag: true + + build-dev-container: when: branch: dev - event: push \ No newline at end of file + event: push + image: plugins/docker + settings: + registry: https://codeberg.org/v2 + username: + from_secret: codeberg_username + password: + from_secret: codeberg_password + repo: codeberg.org/keyoxide/keyoxide-web + tags: dev \ No newline at end of file