3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-22 17:39:38 +01:00

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
View file

@ -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);

View file

@ -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