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 779213c commit 14f1005Copy full SHA for 14f1005
1 file changed
packages/cli-v3/src/deploy/buildImage.ts
@@ -198,12 +198,12 @@ async function remoteBuildImage(options: DepotBuildImageOptions): Promise<BuildI
198
"-f",
199
"Containerfile",
200
options.noCache ? "--no-cache" : undefined,
201
- options.useZstd
+ ...(options.useZstd
202
? [
203
"--output",
204
`compression=zstd${options.compressionLevel ? `,level=${options.compressionLevel}` : ""}`,
205
]
206
- : undefined,
+ : []),
207
"--platform",
208
options.imagePlatform,
209
options.load ? "--load" : undefined,
0 commit comments