mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-21 02:36:46 +00:00
Fix args
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
8be103ff82
commit
8913dd9900
3 changed files with 17 additions and 14 deletions
|
@ -17,6 +17,7 @@ async function run(): Promise<void> {
|
|||
}
|
||||
|
||||
const inputs: Inputs = await getInputs();
|
||||
const args: string[] = await getArgs(inputs);
|
||||
|
||||
if (inputs.builder) {
|
||||
core.info(`📌 Using builder instance ${inputs.builder}`);
|
||||
|
@ -24,7 +25,7 @@ async function run(): Promise<void> {
|
|||
}
|
||||
|
||||
core.info(`🏃 Starting build...`);
|
||||
await exec.exec('docker', await getArgs(inputs));
|
||||
await exec.exec('docker', args);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue