Cache invalidation failures must not stop build
Images may still be in use by running containers
This commit is contained in:
parent
54e3266789
commit
4ea9783c93
@ -29,7 +29,7 @@ class Layers(set):
|
||||
"""Drop layers for this image"""
|
||||
if tags is None:
|
||||
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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user