Skip to content

CI rule taggedcommits

Vijay Kartik requested to merge ci_rule_taggedcommits into master

Test Gitlab CI rules to see how to run jobs only on commits to master that are tagged. On first glance, this looks impossible, because the built-in variables $CI_COMMIT_BRANCH and $CI_COMMIT_TAG do not seem to exist simultaneously. That is, it seems one can only have either a job run on a branch OR on a commit tag, but not both.

Merge request reports

Loading