mirror of
https://github.com/docker/setup-qemu-action.git
synced 2025-07-06 18:38:24 +02:00
Display image information
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
@ -22,6 +22,10 @@ async function run(): Promise<void> {
|
||||
await exec.exec('docker', ['pull', image]);
|
||||
core.endGroup();
|
||||
|
||||
core.startGroup(`Image info`);
|
||||
await exec.exec('docker', ['image', 'inspect', image]);
|
||||
core.endGroup();
|
||||
|
||||
core.startGroup(`Installing QEMU static binaries`);
|
||||
await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms]);
|
||||
core.endGroup();
|
||||
|
Reference in New Issue
Block a user