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:
- veloren-docker
rules:
- when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: always
- when: never
docker:
extends: .publish

View File

@ -4,10 +4,10 @@
tags:
- veloren-docker
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"
when: never
- when: manual
allow_failure: true
# Template to only run if pushes to master or a tag happened
.release: