only tag branch and latest if PREFERRED_VERSION
This commit is contained in:
parent
14df00e631
commit
5dcbe2c3c8
|
@ -24,6 +24,9 @@ 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
|
||||||
|
@ -54,6 +57,7 @@ steps:
|
||||||
image: docker.io/library/alpine
|
image: docker.io/library/alpine
|
||||||
when:
|
when:
|
||||||
- branch: main
|
- branch: main
|
||||||
|
- evaluate: PREFERRED_VERSION == NEXTCLOUD_VERSION
|
||||||
secrets:
|
secrets:
|
||||||
- GIT_API_TOKEN
|
- GIT_API_TOKEN
|
||||||
commands:
|
commands:
|
||||||
|
|
Loading…
Reference in a new issue