From 183f4bdd75bfc1d38d48e5a107c7e3331572504f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Thu, 14 Apr 2022 14:12:42 +0200 Subject: [PATCH] Don't trigger a dispatch event without any images --- c2cciutils/scripts/publish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c2cciutils/scripts/publish.py b/c2cciutils/scripts/publish.py index e82be8224..aa8500b5b 100644 --- a/c2cciutils/scripts/publish.py +++ b/c2cciutils/scripts/publish.py @@ -222,7 +222,7 @@ def main() -> None: google_calendar.create_event(summary, description) dispatch_config = docker_config.get("dispatch", False) - if dispatch_config: + if dispatch_config and images_full: dispatch(dispatch_config["repository"], dispatch_config["event-type"], images_full) helm_config = cast(