Skip to content

Commit

Permalink
Don't trigger a dispatch event without any images
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Apr 14, 2022
1 parent 4d855d4 commit 183f4bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c2cciutils/scripts/publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 183f4bd

Please sign in to comment.