Skip to content

Commit 49a511c

Browse files
committed
Display image information
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
1 parent f3ff6bf commit 49a511c

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

README.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44

55
## About
66

7-
GitHub Action to install [QEMU static binaries](https://github.com/multiarch/qemu-user-static).
8-
9-
> :bulb: See also:
10-
> * [login](https://github.com/docker/login-action) action
11-
> * [setup-buildx](https://github.com/docker/setup-buildx-action) action
12-
> * [build-push](https://github.com/docker/build-push-action) action
7+
GitHub Action to install [QEMU](https://github.com/qemu/qemu) static binaries.
138

149
![Screenshot](.github/setup-qemu-action.png)
1510

dist/index.js

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ async function run(): Promise<void> {
2222
await exec.exec('docker', ['pull', image]);
2323
core.endGroup();
2424

25+
core.startGroup(`Image info`);
26+
await exec.exec('docker', ['image', 'inspect', image]);
27+
core.endGroup();
28+
2529
core.startGroup(`Installing QEMU static binaries`);
2630
await exec.exec('docker', ['run', '--rm', '--privileged', image, '--install', platforms]);
2731
core.endGroup();

0 commit comments

Comments
 (0)