mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-27 17:11:04 +08:00
Fix buildx condition
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
23410eee4e
commit
1af8829102
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…
x
Reference in New Issue
Block a user