mirror of
https://gitea.com/docker/build-push-action.git
synced 2024-11-22 17:39:38 +01:00
Missing context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
ba9a9528cd
commit
f0ffce7351
2 changed files with 2 additions and 0 deletions
1
dist/index.js
generated
vendored
1
dist/index.js
generated
vendored
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue