mirror of
https://github.com/docker/build-push-action.git
synced 2025-04-21 10: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
|
@ -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