mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-19 01:46:45 +00:00
Display available platforms
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
46bf3297bf
commit
ee3946b77e
4 changed files with 8 additions and 2 deletions
4
setup-buildx/dist/index.js
generated
vendored
4
setup-buildx/dist/index.js
generated
vendored
|
@ -2519,7 +2519,9 @@ function run() {
|
|||
yield exec.exec('docker', ['buildx', 'install'], false);
|
||||
}
|
||||
core.info('🛒 Extracting available platforms...');
|
||||
core.setOutput('platforms', yield buildx.platforms());
|
||||
const platforms = yield buildx.platforms();
|
||||
core.info(`${platforms}`);
|
||||
core.setOutput('platforms', platforms);
|
||||
}
|
||||
catch (error) {
|
||||
core.setFailed(error.message);
|
||||
|
|
|
@ -51,7 +51,9 @@ async function run(): Promise<void> {
|
|||
}
|
||||
|
||||
core.info('🛒 Extracting available platforms...');
|
||||
core.setOutput('platforms', await buildx.platforms());
|
||||
const platforms = await buildx.platforms();
|
||||
core.info(`${platforms}`);
|
||||
core.setOutput('platforms', platforms);
|
||||
} catch (error) {
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue