mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
accidently checked for SCHEDULE_CADENCE to be empty
This commit is contained in:
parent
a45791dda5
commit
6aa4d664fc
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user