Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-16 22:43:08 +02:00
parent 1ca381eec1
commit bd7ed33c45
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

@ -37134,7 +37134,7 @@ function getBuildArgs(inputs) {
args.push('--cache-from', cacheFrom);
}));
yield asyncForEach(inputs.cacheTo, (cacheTo) => __awaiter(this, void 0, void 0, function* () {
args.push('--cache-from', cacheTo);
args.push('--cache-to', cacheTo);
}));
if (inputs.file) {
args.push('--file', inputs.file);

@ -137,7 +137,7 @@ async function getBuildArgs(inputs: Inputs): Promise<Array<string>> {
args.push('--cache-from', cacheFrom);
});
await asyncForEach(inputs.cacheTo, async cacheTo => {
args.push('--cache-from', cacheTo);
args.push('--cache-to', cacheTo);
});
if (inputs.file) {
args.push('--file', inputs.file);