fetch-containers-fixes #769

Merged
dboreham merged 3 commits from dboreham/fetch-containers-fixes into main 2024-02-27 15:53:07 +00:00
Showing only changes of commit 51f87c5f9d - Show all commits

View File

@ -149,6 +149,8 @@ def command(ctx, include, exclude, force_local_overwrite, image_registry, regist
registry_info = RegistryInfo(image_registry, registry_username, registry_token)
docker = DockerClient()
if not opts.o.quiet:
print("Logging into container registry:")
docker.login(registry_info.registry, registry_info.registry_username, registry_info.registry_token)
# Generate list of target containers
stack = ctx.obj.stack