Skip to content

Dynamically pick Docker image based on branch name, take 2

Look at the branch name to pick the Docker image from the matching release. For instance, if the pipeline is run on the apertis/v2020 branch, choose the v2020-package-source-builder image.

Also do the same if the branch name is apertis/v2020-security, and if the branch name is wip/em/land-to-v2021dev3-this-patch use the v2021dev3-package-source-builder image.

If no release name is specified in the current branch name, fall back to extracting it from the name of the default branch.

This time handle the fact that older releases do not use the GitLab container registry.

Previous attempt: !83 (merged) Reverted in: !85 (merged)

Merge request reports

Loading