Skip to content

Commit 1c66263

Browse files
author
saville
committed
Fix issues with no-cache flag and new builder
1 parent 73361d9 commit 1c66263

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildrunner/docker/multiplatform_image_builder.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ def _build_single_image(
323323
build_kwargs = {}
324324
if builder:
325325
build_kwargs["builder"] = builder
326-
if cache:
326+
# Handle both no cache and cache
327+
if cache is not None:
327328
build_kwargs["cache"] = cache
328329
if pull:
329330
build_kwargs["pull"] = pull

0 commit comments

Comments
 (0)