From f38cde4c6803cfed9e576d48117600930d475b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 26 Oct 2021 00:06:26 +0200 Subject: [PATCH] Ignore intermediate images (#3264) --- supervisor/resolution/evaluations/container.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/supervisor/resolution/evaluations/container.py b/supervisor/resolution/evaluations/container.py index 587a722e3..36a5daaac 100644 --- a/supervisor/resolution/evaluations/container.py +++ b/supervisor/resolution/evaluations/container.py @@ -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)