Missing context

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
pull/92/head
CrazyMax 2020-08-16 01:06:24 +02:00
parent ba9a9528cd
commit f0ffce7351
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 2 additions and 0 deletions

1
dist/index.js generated vendored
View File

@ -1069,6 +1069,7 @@ function run() {
yield asyncForEach(inputs.cacheTo, (cacheTo) => __awaiter(this, void 0, void 0, function* () { yield asyncForEach(inputs.cacheTo, (cacheTo) => __awaiter(this, void 0, void 0, function* () {
buildArgs.push('--cache-from', cacheTo); buildArgs.push('--cache-from', cacheTo);
})); }));
buildArgs.push(inputs.context);
core.info(`🏃 Starting build...`); core.info(`🏃 Starting build...`);
yield exec.exec('docker', buildArgs); yield exec.exec('docker', buildArgs);
} }

View File

@ -68,6 +68,7 @@ async function run(): Promise<void> {
await asyncForEach(inputs.cacheTo, async cacheTo => { await asyncForEach(inputs.cacheTo, async cacheTo => {
buildArgs.push('--cache-from', cacheTo); buildArgs.push('--cache-from', cacheTo);
}); });
buildArgs.push(inputs.context);
core.info(`🏃 Starting build...`); core.info(`🏃 Starting build...`);
await exec.exec('docker', buildArgs); await exec.exec('docker', buildArgs);