mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-07-17 16:38:30 +00:00
Resolve Reviews
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
3b62e47486
commit
c83fdad66a
4 changed files with 6 additions and 6 deletions
|
@ -207,10 +207,10 @@ async function isPodmanLocalImageLatest(): Promise<boolean> {
|
|||
// remove the pulled image from the Podman image storage
|
||||
async function removeDockerImage(): Promise<void> {
|
||||
if (imageToPush) {
|
||||
core.info(`Removing ${imageToPush} from the Podman image storage`);
|
||||
for (const tag of tagsList) {
|
||||
const imageWithTag = `${imageToPush}:${tag}`;
|
||||
await execute(await getPodmanPath(), [ "rmi", imageWithTag ]);
|
||||
core.info(`Removing ${imageWithTag} from the Podman image storage`);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue