From 5dcbe2c3c8e323f19f0fb2e0ac87f883be2928f9 Mon Sep 17 00:00:00 2001 From: c6ristian Date: Sat, 27 Jul 2024 23:43:26 +0200 Subject: [PATCH] only tag branch and latest if PREFERRED_VERSION --- .woodpecker/nextcloud.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.woodpecker/nextcloud.yaml b/.woodpecker/nextcloud.yaml index cca797d..5b829a6 100644 --- a/.woodpecker/nextcloud.yaml +++ b/.woodpecker/nextcloud.yaml @@ -24,6 +24,9 @@ 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 @@ -54,6 +57,7 @@ steps: image: docker.io/library/alpine when: - branch: main + - evaluate: PREFERRED_VERSION == NEXTCLOUD_VERSION secrets: - GIT_API_TOKEN commands: