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

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