mirror of
https://github.com/docker/build-push-action.git
synced 2025-05-07 22:19:29 +02: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
|
@ -26,6 +26,7 @@ async function run(): Promise<void> {
|
|||
throw new Error(res.stderr);
|
||||
}
|
||||
const platforms: Platforms = JSON.parse(res.stdout.trim());
|
||||
core.info(`${platforms.supported.join(',')}`);
|
||||
core.setOutput('platforms', platforms.supported.join(','));
|
||||
});
|
||||
} catch (error) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue