fix: Cleanup only 2 hours+ old images
This commit is contained in:
parent
ef073e586b
commit
2c5f09a8bb
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ export default async function () {
|
|||
console.log(error);
|
||||
}
|
||||
try {
|
||||
await asyncExecShell(`DOCKER_HOST=${host} docker image prune -f`);
|
||||
await asyncExecShell(`DOCKER_HOST=${host} docker image prune -f --filter "until=2h"`);
|
||||
} catch (error) {
|
||||
console.log(error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue