Skip to content
Snippets Groups Projects

Use a colon as the version separator in update_system_workers

Merged Erwan Rouchet requested to merge fix-system-workers-image into release-1.7.1
2 files
+ 12
12
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -245,7 +245,7 @@ class Command(BaseCommand):
worker_conf = next((worker for worker in data["workers"] if worker["slug"] == slug), None)
if worker_conf is None:
raise CommandError(f"No worker with slug {slug} in .arkindex.yml at {url}.")
image = f"registry.gitlab.teklia.com/{name}/{version}"
image = f"registry.gitlab.teklia.com/{name}:{version}"
command = worker_conf.get("docker", {}).get("command", None)
self.update_feature(feature, image=image, command=command, configuration=worker_conf, repo=repo)
Loading