Cache invalidation failures must not stop build
Images may still be in use by running containers
This commit is contained in:
parent
5f1afd89ee
commit
c8cdbf38bf
@ -29,7 +29,7 @@ class Layers(set):
|
|||||||
"""Drop layers for this image"""
|
"""Drop layers for this image"""
|
||||||
if tags is None:
|
if tags is None:
|
||||||
tags = [layer for layer in await self.ls(target)]
|
tags = [layer for layer in await self.ls(target)]
|
||||||
await target.exec('podman', 'rmi', *tags)
|
await target.exec('podman', 'rmi', *tags, raises=False)
|
||||||
|
|
||||||
|
|
||||||
class Image:
|
class Image:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user