Commit b30f4198 authored by Emanuele Aina's avatar Emanuele Aina

Dynamically pick Docker image based on branch name

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.
Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent aa7c01dd
Pipeline #148698 failed with stages
in 1 minute and 4 seconds