mirror of
https://github.com/docker/build-push-action.git
synced 2026-10-04 08:44:35 +03:00
Compute args order
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
2 files changed
+2
-4
No files matched your search
+1
-3
@@ -19,16 +19,14 @@ async function run(): Promise<void> {
|
||||
}
|
||||
|
||||
let inputs: Inputs = await getInputs();
|
||||
const args: string[] = await getArgs(inputs);
|
||||
|
||||
if (inputs.builder) {
|
||||
core.info(`📌 Using builder instance ${inputs.builder}`);
|
||||
await buildx.use(inputs.builder);
|
||||
}
|
||||
|
||||
inputs = await github.restoreCache(inputs);
|
||||
|
||||
core.info(`🏃 Starting build...`);
|
||||
const args: string[] = await getArgs(inputs);
|
||||
await exec.exec('docker', args);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
||||
Reference in new issue
Block a user