From 48b13c08a62f0f12262e045eafa4655f36786fd7 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Thu, 12 Sep 2024 11:33:57 +0200 Subject: [PATCH] ci(gitlab-ci): fix backend container prod rules --- .gitlab-ci/backend.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/backend.yml b/.gitlab-ci/backend.yml index 55a498fb1..a59585cdb 100644 --- a/.gitlab-ci/backend.yml +++ b/.gitlab-ci/backend.yml @@ -69,4 +69,5 @@ container: - 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: - - if: ${PROD_BUILD} =~ -prod \ No newline at end of file + - if: ${PROD_BUILD} =~ /^-prod$/ + when: always \ No newline at end of file