first rule evaluated to never, switched that

This commit is contained in:
Marcel Märtens 2020-06-17 10:41:05 +02:00
parent 06a2e006b7
commit 0d34c2a10b
2 changed files with 3 additions and 3 deletions

View File

@ -5,9 +5,9 @@
tags: tags:
- veloren-docker - veloren-docker
rules: rules:
- when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: always when: always
- when: never
docker: docker:
extends: .publish extends: .publish

View File

@ -4,10 +4,10 @@
tags: tags:
- veloren-docker - veloren-docker
rules: rules:
- when: manual
allow_failure: true
- if: $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ || $CI_PIPELINE_SOURCE == "schedule" - if: $CI_COMMIT_REF_NAME =~ /^master$/ || $CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+/ || $CI_COMMIT_REF_NAME =~ /^r[0-9]+\.[0-9]+/ || $CI_PIPELINE_SOURCE == "schedule"
when: never when: never
- when: manual
allow_failure: true
# Template to only run if pushes to master or a tag happened # Template to only run if pushes to master or a tag happened
.release: .release: