feat: refactor CI/CD pipeline using included template
Use template for image-build
job included from cloud/ci-cd-scripts
repo.
Successful pipeline: https://gitlab.ics.muni.cz/cloud/g2/custom-images/-/pipelines/467916.
Depends on MR: cloud/ci-cd-scripts!1 (merged)