3
0
Fork 0
mirror of https://gitea.com/docker/build-push-action.git synced 2024-11-22 09:29:38 +01:00
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
View file

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

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