Docker Community Forums

Share and learn in the Docker community.

Automated Builds via GitHub webhooks


(Shin) #1

Hi,

For our builds we didn’t want to build an image on every push but instead on every GitHub release so we thought we would be able to just modify the GitHub webhook settings by choosing “Let me select individual events” and just ticking ‘Release’.

Unfortunately it doesn’t work because Docker Cloud seems to only be listening out for push events (possibly looking for the X-GitHub-Event header in the webhook request). Strangely, if you add the ‘push’ event to the list and do a release, the event header appears as ‘push’ and Docker Cloud is triggered (but obviously not what I want).

So the question is could Docker Cloud be made more open to the kind of events it receives via the webhook?

Thanks,