Display image information

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

3
dist/index.js generated vendored
View File

@ -106,6 +106,9 @@ function run() {
core.startGroup(`Pulling binfmt Docker image`);
yield exec.exec('docker', ['pull', image]);
core.endGroup();
core.startGroup(`Image info`);
yield exec.exec('docker', ['image', 'inspect', image]);
core.endGroup();
core.startGroup(`Installing QEMU static binaries`);
yield exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms]);
core.endGroup();