Skip to content

Commit

Permalink
Merge pull request #530 from camptocamp/less-trigger
Browse files Browse the repository at this point in the history
Don't trigger a dispatch event without any images
  • Loading branch information
sbrunner authored Apr 14, 2022
2 parents 4d855d4 + 183f4bd commit c2ac6ec
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 c2ac6ec

Please sign in to comment.