only tag branch & latest if version equals check
This commit is contained in:
parent
5dcbe2c3c8
commit
69c5ef00fe
|
@ -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:
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue