mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2025-02-22 18:21:20 +01:00
Use podman rmi -a -f instead of podman system reset -f
This commit is contained in:
parent
82525cd140
commit
3db9ab911b
3 changed files with 3 additions and 3 deletions
2
dist/index.js
vendored
2
dist/index.js
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
|
@ -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 });
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue