force image deletion

This commit is contained in:
Andras Bacsai 2022-03-02 21:14:53 +01:00
parent ab9f8ff356
commit 7c3314abae

View File

@ -13,7 +13,7 @@ export default async function () {
);
images = images.trim();
if (images) {
await asyncExecShell(`DOCKER_HOST=${host} docker rmi ${images}`);
await asyncExecShell(`DOCKER_HOST=${host} docker rmi -f ${images}`);
}
} catch (error) {
console.log(error);