only tag branch & latest if version equals check
This commit is contained in:
parent
5dcbe2c3c8
commit
69c5ef00fe
|
@ -50,6 +50,7 @@ steps:
|
|||
image: alpine
|
||||
when:
|
||||
- branch: main
|
||||
- evaluate: 'KEYCLOAK_VERSION == "25.0"'
|
||||
secrets:
|
||||
- GIT_API_TOKEN
|
||||
commands:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue