Update .gitlab-ci.yml

This commit is contained in:
Florian Hoss 2024-03-12 15:56:17 +01:00
parent 9b387adab5
commit a72119f8cb

View file

@ -16,7 +16,7 @@ image: docker:$DOCKER_VERSION-git
.rules:deploy: .rules:deploy:
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH' - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
build: build:
rules: !reference [.rules:deploy, rules] rules: !reference [.rules:deploy, rules]