Test passes

This commit is contained in:
David Boreham 2024-02-23 10:09:17 -07:00
parent f37d33afbe
commit 36b78729fb
2 changed files with 8 additions and 3 deletions

View File

@ -172,13 +172,17 @@ def command(ctx, include, exclude, force_rebuild, extra_build_args, publish_imag
container_build_env = make_container_build_env(dev_root_path,
container_build_dir,
opts.o.debug,
opts.o.force_rebuild,
force_rebuild,
extra_build_args)
for container in containers_in_scope:
if include_exclude_check(container, include, exclude):
build_context = BuildContext(
stack,
container,
container_build_dir,
container_build_env,
dev_root_path
)
process_container(build_context)
else:

View File

@ -24,4 +24,5 @@ class BuildContext:
stack: str
container: str
container_build_dir: Path
container_build_env: Mapping[str,str]
container_build_env: Mapping[str,str]
dev_root_path: str