From 69c5ef00fe0e48f00cdd665bf0748ae466750cd3 Mon Sep 17 00:00:00 2001 From: c6ristian Date: Sun, 28 Jul 2024 00:02:40 +0200 Subject: [PATCH] only tag branch & latest if version equals check --- .woodpecker/keycloak.yaml | 1 + .woodpecker/nextcloud.yaml | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.woodpecker/keycloak.yaml b/.woodpecker/keycloak.yaml index 0ffcc3c..f98ad87 100644 --- a/.woodpecker/keycloak.yaml +++ b/.woodpecker/keycloak.yaml @@ -50,6 +50,7 @@ steps: image: alpine when: - branch: main + - evaluate: 'KEYCLOAK_VERSION == "25.0"' secrets: - GIT_API_TOKEN commands: diff --git a/.woodpecker/nextcloud.yaml b/.woodpecker/nextcloud.yaml index 5b829a6..43609a6 100644 --- a/.woodpecker/nextcloud.yaml +++ b/.woodpecker/nextcloud.yaml @@ -24,9 +24,6 @@ matrix: IMAGE_NAME: - git.hamburg.ccc.de/ccchh/oci-images/nextcloud -variables: - &PREFERRED_VERSION 28 - steps: - name: setup-image-path image: docker.io/library/alpine @@ -57,7 +54,7 @@ steps: image: docker.io/library/alpine when: - branch: main - - evaluate: PREFERRED_VERSION == NEXTCLOUD_VERSION + - evaluate: 'NEXTCLOUD_VERSION == "28"' secrets: - GIT_API_TOKEN commands: