fix(lowercase-ci): Adding the last part lowercase to ensure all usernames are lowercase and avboid braking test for username with uppercase

This commit is contained in:
Alejandro Roman committed 2026-03-17 10:50:26 +01:00
1 parent 98d150062c
commit cb25eef0b4
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ def generate_ci_mirrors_file(compose, *, inventory_dir: str) -> str:
raise RuntimeError("inventory_dir must not be empty")
env = _exec_env()
ghcr_namespace = env["GITHUB_REPOSITORY_OWNER"]
ghcr_namespace = env["GITHUB_REPOSITORY_OWNER"].lower()
ghcr_prefix = env["INFINITO_GHCR_MIRROR_PREFIX"].strip().strip("/")
if not ghcr_prefix:
raise RuntimeError("INFINITO_GHCR_MIRROR_PREFIX must not be empty")