Display image information

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax committed 2021-05-26 15:46:14 +02:00
1 parent f3ff6bf17c
commit 49a511cdf8
3 files changed
+8 -6

No files matched your search

+4
View File
@@ -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();