From 2f277e36aaff50dcbcfe546d96fc4edf6bc4617b Mon Sep 17 00:00:00 2001 From: zramsay Date: Mon, 3 Apr 2023 16:16:09 -0400 Subject: [PATCH] allow registry URL to be configurable --- app/build_containers.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/build_containers.py b/app/build_containers.py index 5b85f5bf..017ea776 100644 --- a/app/build_containers.py +++ b/app/build_containers.py @@ -79,9 +79,8 @@ def command(ctx, include, exclude): if stack: print(f"Stack: {stack}") - # TODO: make this configurable container_build_env = { - "CERC_NPM_URL": "http://gitea.local:3000/api/packages/cerc-io/npm/", + "CERC_NPM_URL": config("CERC_NPM_URL", default="http://gitea.local:3000/api/packages/cerc-io/npm/"), "CERC_NPM_AUTH_TOKEN": config("CERC_NPM_AUTH_TOKEN", default=""), "CERC_REPO_BASE_DIR": dev_root_path, "CERC_HOST_UID": f"{os.getuid()}", -- 2.45.2