Updated jobs image specification.

This commit is contained in:
Michael Woods
2025-02-15 21:23:31 -05:00
parent 1b6dbb6e24
commit 7120b05a59

View File

@@ -37,7 +37,10 @@ def get_orchestrator_from_config(cfg: dict) -> Union[Orchestrator, PodmanOrchest
if 'runner' in cfg: if 'runner' in cfg:
val = cfg['runner'].lower().strip() val = cfg['runner'].lower().strip()
if val == "podman": if val == "podman":
return PodmanOrchestrator() orch = PodmanOrchestrator()
image = cfg.get('image', 'debian')
orch.opts.image_name = image
return orch
else: else:
raise RuntimeError("Other orchestrators not implemented yet.") raise RuntimeError("Other orchestrators not implemented yet.")
else: else: