Skip to content

Dockerhub Github integration

Dan Kerchner edited this page Sep 5, 2019 · 6 revisions

(This page is a work in progress)

Requirements for each repo:

  • The Github gwu-libraries build team (of which gwlai-services is a member) must have Admin access to the Github repo
  • In Dockerhub, in the "Configure Automated Builds" tab, add a Build Trigger. Press Save.
  • In Github, observe that a new Webhook has been added (under repository Settings->Webhooks). Also note that a new Deploy Key has been added (under repository Settings->Deploy Keys). Your discerning eye may notice that the Payload URL on Github does not match the Trigger URL on Dockerhub. We hope to better understand this.
  • In Github, edit the Webhook. Under "Which events would you like to trigger this webhook?" add "Branch or tag creation." Press Update Webhook.