This commit is contained in:
jbpratt 2024-03-21 02:04:21 -05:00 committed by GitHub
commit d7d50c32e4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -417,7 +417,7 @@ async function removeDockerPodmanImageStroage(): Promise<void> {
await getPodmanPath(),
[ ...dockerPodmanOpts, "rmi", "-a", "-f" ]
);
await fs.promises.rmdir(dockerPodmanRoot, { recursive: true });
await fs.promises.rm(dockerPodmanRoot, { recursive: true });
}
catch (err) {
core.warning(`Failed to remove podman image stroage ${dockerPodmanRoot}: ${err}`);