only tag branch & latest if version equals check
All checks were successful
ci/woodpecker/push/keycloak Pipeline was successful
ci/woodpecker/push/nextcloud/2 Pipeline was successful
ci/woodpecker/push/nextcloud/1 Pipeline was successful

This commit is contained in:
christian 2024-07-28 00:02:40 +02:00
parent 5dcbe2c3c8
commit 69c5ef00fe
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
2 changed files with 2 additions and 4 deletions

View file

@ -50,6 +50,7 @@ steps:
image: alpine image: alpine
when: when:
- branch: main - branch: main
- evaluate: 'KEYCLOAK_VERSION == "25.0"'
secrets: secrets:
- GIT_API_TOKEN - GIT_API_TOKEN
commands: commands:

View file

@ -24,9 +24,6 @@ matrix:
IMAGE_NAME: IMAGE_NAME:
- git.hamburg.ccc.de/ccchh/oci-images/nextcloud - git.hamburg.ccc.de/ccchh/oci-images/nextcloud
variables:
&PREFERRED_VERSION 28
steps: steps:
- name: setup-image-path - name: setup-image-path
image: docker.io/library/alpine image: docker.io/library/alpine
@ -57,7 +54,7 @@ steps:
image: docker.io/library/alpine image: docker.io/library/alpine
when: when:
- branch: main - branch: main
- evaluate: PREFERRED_VERSION == NEXTCLOUD_VERSION - evaluate: 'NEXTCLOUD_VERSION == "28"'
secrets: secrets:
- GIT_API_TOKEN - GIT_API_TOKEN
commands: commands: