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 65a3ee3 commit 0ea0348Copy full SHA for 0ea0348
1 file changed
src/python/pants/backend/docker/goals/package_image.py
@@ -423,10 +423,10 @@ def get_build_options(
423
)
424
425
if target_stage:
426
- extra_options.extend(("--target", target_stage))
+ extra_options = extra_options + ("--target", target_stage)
427
428
if global_build_no_cache_option:
429
- extra_options.extend("--no-cache")
+ extra_options = extra_options + ("--no-cache",)
430
431
# Append extra options last so that they take precedence over the structured fields above.
432
yield from extra_options
0 commit comments