Merge branch 'xMAC94x/fix_ci' into 'master'

accidently checked for SCHEDULE_CADENCE to be empty

See merge request veloren/veloren!3345
This commit is contained in:
Marcel 2022-04-28 10:25:51 +00:00
commit 3163f593ce

View File

@ -12,7 +12,7 @@ if [[ "${CI_COMMIT_TAG}" =~ ${TAG_REGEX} ]]; then
export PUBLISH_DOCKER_TAG="${CI_COMMIT_TAG}";
return 0;
fi
if [[ -z "${SCHEDULE_CADENCE}" && ${CI_PIPELINE_SOURCE} == "schedule" ]]; then
if [[ "${SCHEDULE_CADENCE}" != "" && ${CI_PIPELINE_SOURCE} == "schedule" ]]; then
# sanitize check
if [[ "${SCHEDULE_CADENCE}" =~ ${TAG_REGEX} ]]; then
export PUBLISH_DOCKER_TAG="invalid_cadence";