rsandell,
Docker Trusted Registry has 5 different events that you can select to trigger this webhook call from a given repository:
- Tag pushed to repository
- Tag deleted from repository
- Manifest pushed to repository
- Manifest deleted from repository
- Security scan completed (on a tag that was pushed)
I'd predict that the vast majority of users would be triggering based on #1 with #5 being the second most used.
I'm thinking, though, that it might make sense to provide a way for a job to be configured to act on specific types of events (they are indicated in the JSON payload with in a type field) but that would require adding a multi-selection type UI element to the job configuration and I've not done that before. How hard would that be?
Beginning work on this in: https://github.com/ericsmalling/dockerhub-notification-plugin