Emit an event when a firmware image is generated.
Also emit an event on build failures.