CI: Make version definitions reusable
What does this MR do and why?
Move them into a separate so it can be included by templates or projects.
Follow-up of !154080 (merged) and gitlab-build-images!810 (merged).
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Peter Leitzen