From bd7ed33c45d9c3acffed84f50ccac82e14b42d93 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 16 Aug 2020 22:43:08 +0200 Subject: [PATCH] Typo Signed-off-by: CrazyMax --- dist/index.js | 2 +- src/context.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 5108af2..97a22e4 100644 --- a/dist/index.js +++ b/dist/index.js @@ -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); diff --git a/src/context.ts b/src/context.ts index 2cc049d..13bfe67 100644 --- a/src/context.ts +++ b/src/context.ts @@ -137,7 +137,7 @@ async function getBuildArgs(inputs: Inputs): Promise> { 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);