Fix buildx condition

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 01:53:55 +02:00
parent 23410eee4e
commit 1af8829102
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 2 additions and 2 deletions

2
dist/index.js generated vendored

@ -1213,7 +1213,7 @@ function mustBuildx(inputs) {
return __awaiter(this, void 0, void 0, function* () {
return (inputs.builder.length > 0 ||
inputs.platforms.length > 0 ||
inputs.push ||
inputs.load ||
inputs.outputs.length > 0 ||
inputs.cacheFrom.length > 0 ||
inputs.cacheTo.length > 0);

@ -42,7 +42,7 @@ export async function mustBuildx(inputs: Inputs): Promise<boolean> {
return (
inputs.builder.length > 0 ||
inputs.platforms.length > 0 ||
inputs.push ||
inputs.load ||
inputs.outputs.length > 0 ||
inputs.cacheFrom.length > 0 ||
inputs.cacheTo.length > 0