mirror of
https://github.com/docker/build-push-action.git
synced 2024-11-26 20:15:40 +01:00
Missing context
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
ba9a9528cd
commit
f0ffce7351
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 New Issue
Block a user