ci(backend): fix release container rules

This commit is contained in:
Sarah Vaupel 2024-09-04 05:30:40 +02:00
parent dfc83b7b3c
commit c47d1c01f8

View File

@ -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-.*$/
rules:
- if: ${PROD_BUILD} == -prod