Fix buildx condition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>pull/92/head
parent
23410eee4e
commit
1af8829102
|
@ -1213,7 +1213,7 @@ function mustBuildx(inputs) {
|
||||||
return __awaiter(this, void 0, void 0, function* () {
|
return __awaiter(this, void 0, void 0, function* () {
|
||||||
return (inputs.builder.length > 0 ||
|
return (inputs.builder.length > 0 ||
|
||||||
inputs.platforms.length > 0 ||
|
inputs.platforms.length > 0 ||
|
||||||
inputs.push ||
|
inputs.load ||
|
||||||
inputs.outputs.length > 0 ||
|
inputs.outputs.length > 0 ||
|
||||||
inputs.cacheFrom.length > 0 ||
|
inputs.cacheFrom.length > 0 ||
|
||||||
inputs.cacheTo.length > 0);
|
inputs.cacheTo.length > 0);
|
||||||
|
|
|
@ -42,7 +42,7 @@ export async function mustBuildx(inputs: Inputs): Promise<boolean> {
|
||||||
return (
|
return (
|
||||||
inputs.builder.length > 0 ||
|
inputs.builder.length > 0 ||
|
||||||
inputs.platforms.length > 0 ||
|
inputs.platforms.length > 0 ||
|
||||||
inputs.push ||
|
inputs.load ||
|
||||||
inputs.outputs.length > 0 ||
|
inputs.outputs.length > 0 ||
|
||||||
inputs.cacheFrom.length > 0 ||
|
inputs.cacheFrom.length > 0 ||
|
||||||
inputs.cacheTo.length > 0
|
inputs.cacheTo.length > 0
|
||||||
|
|
Loading…
Reference in New Issue