mirror of
https://github.com/docker/setup-buildx-action.git
synced 2025-05-10 08:29:30 +02:00
Add config-inline
input
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
ee7ac3140a
commit
34e94a5fed
13 changed files with 4751 additions and 16 deletions
|
@ -50,7 +50,9 @@ async function run(): Promise<void> {
|
|||
createArgs.push(inputs.endpoint);
|
||||
}
|
||||
if (inputs.config) {
|
||||
createArgs.push('--config', inputs.config);
|
||||
createArgs.push('--config', await buildx.getConfigFile(inputs.config));
|
||||
} else if (inputs.configInline) {
|
||||
createArgs.push('--config', await buildx.getConfigInline(inputs.configInline));
|
||||
}
|
||||
await exec.exec('docker', createArgs);
|
||||
core.endGroup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue