We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e8927f commit 336ea0bCopy full SHA for 336ea0b
tests/cli/test_build_images.py
@@ -92,7 +92,7 @@ def test_run(
92
)
93
for flag, value in flags:
94
if isinstance(value, list) and value:
95
- build_cmd.extend([flag, " ".join(value)])
+ build_cmd.extend([flag, *value])
96
if isinstance(value, str) and value:
97
build_cmd.extend([flag, value])
98
if isinstance(value, bool) and value:
@@ -118,7 +118,7 @@ def test_run(
118
built_images.append(built_image)
119
images_to_push.append(built_image)
120
for tag in (tags if tags else def_tags)[1:]:
121
- new_tag = f"{image.split(':')[0]}:{tag}"
+ new_tag = f"{built_image.split(':')[0]}:{tag}"
122
other_tags.append(new_tag)
123
images_to_push.append(new_tag)
124
0 commit comments