only tag branch and latest if PREFERRED_VERSION
This commit is contained in:
parent
14df00e631
commit
5dcbe2c3c8
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue