From c47d1c01f8fc95b7e30e5ca99f22d9cc1608a87d Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 4 Sep 2024 05:30:40 +0200 Subject: [PATCH] ci(backend): fix release container rules --- .gitlab-ci/backend.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/backend.yml b/.gitlab-ci/backend.yml index 5c66ed938..834886c3f 100644 --- a/.gitlab-ci/backend.yml +++ b/.gitlab-ci/backend.yml @@ -68,6 +68,5 @@ container: - IMAGE_TAG=`./.gitlab-ci/version.pl` - buildah bud -t ${IMAGE_TAG} --volume ${CI_PROJECT_DIR}/bin/:/tmp/uniworx-bin --file docker/fradrive/Dockerfile - buildah push --creds "${CI_REGISTRY_USER}:${CI_JOB_TOKEN}" ${IMAGE_TAG} ${CI_REGISTRY_IMAGE}/${IMAGE_TAG} - rules: # should be equivalent to *release-rules in .gitlab-ci.yml - - if: $CI_COMMIT_TAG =~ /^v[0-9\.]+$/ - - if: $CI_COMMIT_TAG =~ /^v[0-9\.]+-test-.*$/ \ No newline at end of file + rules: + - if: ${PROD_BUILD} == -prod \ No newline at end of file