Skip to content

fix: rules in CI/CD pipeline

Josef Smrčka requested to merge jsmrcka-image-build into master

After !13 (merged), the pipeline contained an invalid combination of rules, using deprecated syntax.

Fixed by replacing a rule aimed at checking the presence of a variable with a before_script. The use of rules was a bug, as rules are evaluated at the time of pipeline creation, whereas the test must evaluate the variable in runtime.

Merge request reports