Missing context

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
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);