From f0ffce7351f6607482952a709f8b4cad656cafcf Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Sun, 16 Aug 2020 01:06:24 +0200 Subject: [PATCH] Missing context Signed-off-by: CrazyMax --- dist/index.js | 1 + src/main.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 9844ea5..6e63d75 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1069,6 +1069,7 @@ function run() { yield asyncForEach(inputs.cacheTo, (cacheTo) => __awaiter(this, void 0, void 0, function* () { buildArgs.push('--cache-from', cacheTo); })); + buildArgs.push(inputs.context); core.info(`🏃 Starting build...`); yield exec.exec('docker', buildArgs); } diff --git a/src/main.ts b/src/main.ts index 316fc09..3804db4 100644 --- a/src/main.ts +++ b/src/main.ts @@ -68,6 +68,7 @@ async function run(): Promise { await asyncForEach(inputs.cacheTo, async cacheTo => { buildArgs.push('--cache-from', cacheTo); }); + buildArgs.push(inputs.context); core.info(`🏃 Starting build...`); await exec.exec('docker', buildArgs);