only tag branch and latest if PREFERRED_VERSION
All checks were 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-27 23:43:26 +02:00
parent 14df00e631
commit 5dcbe2c3c8
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak

View file

@ -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: