I have tested when: manual
and it works as expected. It creates a pipeline with a job that I can push play on.
But suppose I only want a job to have the manual option if a tag was created. Otherwise, skip this job.
This does not seem to work for me:
tag-triggered-manual-job:
stage: publish
only:
variables:
- $CI_COMMIT_TAG =~ /^product-build-.*/
when: manual
script:
- script goes here