[CI] Add platform to the build container name
Right now, the build container name is based purely on the directory location. However, if we eventually want to support multiple platforms (such as el10), then the platform should be in the name. This way, build_deploy can pick the correct container when necessary.
This means that:
-
build_deploy.shwill build a new container after this fix is merged - The new name will go from
cta-build-<path>tocta-build-<path>-<platform>- e.g.
cta-build-home-cirunner-shared-CTAtocta-build-home-cirunner-shared-CTA-el9
- e.g.
Best to run podman ps to clean up build containers not in use anymore.
Edited by Niels Alexander Buegel