From d0b7c324749e71d3bf376e74dde0800de95ac282 Mon Sep 17 00:00:00 2001 From: c6ristian Date: Tue, 20 May 2025 20:11:59 +0200 Subject: [PATCH] updates ci files --- .woodpecker/keycloak.yaml | 16 ++++++++++------ .woodpecker/nextcloud.yaml | 18 +++++++++++------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/.woodpecker/keycloak.yaml b/.woodpecker/keycloak.yaml index 0057312..dc64f11 100644 --- a/.woodpecker/keycloak.yaml +++ b/.woodpecker/keycloak.yaml @@ -21,6 +21,7 @@ matrix: KEYCLOAK_VERSION: - 26.0 - 26.1 + - 26.2 IMAGE_NAME: - git.hamburg.ccc.de/ccchh/oci-images/keycloak @@ -43,8 +44,9 @@ steps: - name: publish-image image: alpine - secrets: - - GIT_API_TOKEN + environment: + GIT_API_TOKEN: + from_secret: GIT_API_TOKEN commands: - apk -u add crane - crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN @@ -54,8 +56,9 @@ steps: image: alpine when: - branch: main - secrets: - - GIT_API_TOKEN + environment: + GIT_API_TOKEN: + from_secret: GIT_API_TOKEN commands: - apk -u add crane - crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN @@ -66,8 +69,9 @@ steps: when: - branch: main evaluate: 'KEYCLOAK_VERSION == "26.0"' - secrets: - - GIT_API_TOKEN + environment: + GIT_API_TOKEN: + from_secret: GIT_API_TOKEN commands: - apk -u add crane - crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN diff --git a/.woodpecker/nextcloud.yaml b/.woodpecker/nextcloud.yaml index 5aa788f..a9b3fa2 100644 --- a/.woodpecker/nextcloud.yaml +++ b/.woodpecker/nextcloud.yaml @@ -21,6 +21,7 @@ matrix: NEXTCLOUD_VERSION: - 29 - 30 + - 31 IMAGE_NAME: - git.hamburg.ccc.de/ccchh/oci-images/nextcloud @@ -43,8 +44,9 @@ steps: - name: publish-image image: docker.io/library/alpine - secrets: - - GIT_API_TOKEN + environment: + GIT_API_TOKEN: + from_secret: GIT_API_TOKEN commands: - apk -u add crane - crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN @@ -54,8 +56,9 @@ steps: image: docker.io/library/alpine when: - branch: main - secrets: - - GIT_API_TOKEN + environment: + GIT_API_TOKEN: + from_secret: GIT_API_TOKEN commands: - apk -u add crane - crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN @@ -65,9 +68,10 @@ steps: image: docker.io/library/alpine when: - branch: main - evaluate: 'NEXTCLOUD_VERSION == "28"' - secrets: - - GIT_API_TOKEN + evaluate: 'NEXTCLOUD_VERSION == "29"' + environment: + GIT_API_TOKEN: + from_secret: GIT_API_TOKEN commands: - apk -u add crane - crane auth login git.hamburg.ccc.de -u woodpecker -p $GIT_API_TOKEN