Simple container image publication #762

Merged
dboreham merged 4 commits from dboreham/publish-images into main 2024-02-23 19:57:51 +00:00
2 changed files with 8 additions and 3 deletions
Showing only changes of commit 36b78729fb - Show all commits

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