mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-02-22 18:11:21 +01:00
change output a little
Signed-off-by: Tim Etchells <tetchel@gmail.com>
This commit is contained in:
parent
9c8a5ab6f3
commit
cd7943cbfb
1 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ let podmanPath: string | undefined;
|
|||
async function getPodmanPath(): Promise<string> {
|
||||
if (podmanPath == null) {
|
||||
podmanPath = await io.which("podman", true);
|
||||
await execute(podmanPath, [ "version" ]);
|
||||
await execute(podmanPath, [ "version" ], { group: true });
|
||||
}
|
||||
|
||||
return podmanPath;
|
||||
|
@ -43,7 +43,7 @@ async function run(): Promise<void> {
|
|||
];
|
||||
|
||||
await execute(await getPodmanPath(), args);
|
||||
core.info(`✅ Successfully logged in to ${registry}`);
|
||||
core.info(`✅ Successfully logged in to ${registry} as ${username}`);
|
||||
}
|
||||
|
||||
async function registryLogout(): Promise<void> {
|
||||
|
|
Loading…
Add table
Reference in a new issue