Skip to content

Commit 0765f69

Browse files
committed
explicitly set nopush if no destinations
1 parent d53e46a commit 0765f69

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

envbuilder.go

+1
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,7 @@ func Run(ctx context.Context, options Options) error {
492492
RunStdout: stdoutWriter,
493493
RunStderr: stderrWriter,
494494
Destinations: destinations,
495+
NoPush: len(destinations) == 0,
495496
CacheRunLayers: true,
496497
CacheCopyLayers: true,
497498
CompressedCaching: true,

0 commit comments

Comments
 (0)