mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Ignore intermediate images (#3264)
This commit is contained in:
parent
4c9cbb112e
commit
f38cde4c68
@ -21,6 +21,7 @@ UNHEALTHY_IMAGES = [
|
||||
"watchtower",
|
||||
"ouroboros",
|
||||
]
|
||||
IGNORE_IMAGES = ["sha256"]
|
||||
|
||||
|
||||
def setup(coresys: CoreSys) -> EvaluateBase:
|
||||
@ -71,7 +72,7 @@ class EvaluateContainer(EvaluateBase):
|
||||
self.sys_resolution.evaluate.cached_images.add(image)
|
||||
|
||||
image_name = image.partition(":")[0]
|
||||
if image_name not in self.known_images:
|
||||
if image_name not in IGNORE_IMAGES and image_name not in self.known_images:
|
||||
self._images.add(image_name)
|
||||
if any(
|
||||
image_name.split("/")[-1].startswith(unhealthy)
|
||||
|
Loading…
x
Reference in New Issue
Block a user