mirror of
https://github.com/docker/build-push-action
synced 2024-11-13 23:01:42 +00:00
Fix buildx condition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
23410eee4e
commit
1af8829102
2 changed files with 2 additions and 2 deletions
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
|
@ -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 a new issue