Revert args

This commit is contained in:
Tat Dat Duong
2025-04-17 22:22:43 +02:00
parent 01ce86ad9b
commit db1fbe74cc
2 changed files with 5 additions and 17 deletions
+3 -14
View File
@@ -273,7 +273,6 @@ def _build(
pull: bool,
tag: str,
passthrough: Sequence[str] = (),
base_docker_tag: Optional[str] = None,
):
# pull latest images
if pull:
@@ -281,9 +280,7 @@ def _build(
subp_exec(
"docker",
"pull",
langgraph_cli.config.docker_tag(
config_json, base_image, base_docker_tag
),
langgraph_cli.config.docker_tag(config_json, base_image),
verbose=True,
)
)
@@ -298,7 +295,7 @@ def _build(
]
# apply config
stdin, additional_contexts = langgraph_cli.config.config_to_docker(
config, config_json, base_image, base_docker_tag
config, config_json, base_image
)
# add additional_contexts
if additional_contexts:
@@ -359,15 +356,7 @@ def build(
raise click.UsageError("Docker not installed") from None
config_json = langgraph_cli.config.validate_config_file(config)
_build(
runner,
set,
config,
config_json,
base_image,
pull,
tag,
docker_build_args,
config_json.get("_INTERNAL_docker_tag"),
runner, set, config, config_json, base_image, pull, tag, docker_build_args
)