mirror of
https://github.com/redhat-actions/podman-login.git
synced 2025-06-08 02:29:03 +00:00
Modify action.yml
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
6c4ab503eb
commit
005af2ac0e
8 changed files with 23 additions and 27 deletions
|
@ -46,7 +46,7 @@ async function run(): Promise<void> {
|
|||
core.info(`✅ Successfully logged in to ${registry}`);
|
||||
}
|
||||
|
||||
async function logout(): Promise<void> {
|
||||
async function registryLogout(): Promise<void> {
|
||||
if (!stateHelper.logout) {
|
||||
return;
|
||||
}
|
||||
|
@ -57,5 +57,5 @@ if (!stateHelper.IsPost) {
|
|||
run().catch(core.setFailed);
|
||||
}
|
||||
else {
|
||||
logout().catch(core.setFailed);
|
||||
registryLogout().catch(core.setFailed);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue