Use podman rmi -a -f instead of podman system reset -f

This commit is contained in:
なつき 2021-10-08 17:17:16 +00:00
parent 82525cd140
commit 3db9ab911b
3 changed files with 3 additions and 3 deletions

2
dist/index.js vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View file

@ -375,7 +375,7 @@ async function removeDockerPodmanImageStroage(): Promise<void> {
core.info(`Removing temporary Podman image storage for pulling from Docker daemon`); core.info(`Removing temporary Podman image storage for pulling from Docker daemon`);
await execute( await execute(
await getPodmanPath(), await getPodmanPath(),
[ ...dockerPodmanOpts, "system", "reset", "-f" ] [ ...dockerPodmanOpts, "rmi", "-a", "-f" ]
); );
await fs.promises.rmdir(dockerPodmanRoot, { recursive: true }); await fs.promises.rmdir(dockerPodmanRoot, { recursive: true });
} }