mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-23 02:21:22 +01:00
Print podman version at start
Signed-off-by: Tim Etchells <tetchell@redhat.com>
This commit is contained in:
parent
e8a67de103
commit
902794f5ab
3 changed files with 3 additions and 2 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -27,6 +27,7 @@ let tagsList: string[];
|
||||||
async function getPodmanPath(): Promise<string> {
|
async function getPodmanPath(): Promise<string> {
|
||||||
if (podmanPath == null) {
|
if (podmanPath == null) {
|
||||||
podmanPath = await io.which("podman", true);
|
podmanPath = await io.which("podman", true);
|
||||||
|
await execute(podmanPath, [ "version" ]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return podmanPath;
|
return podmanPath;
|
||||||
|
|
Loading…
Add table
Reference in a new issue