Page MenuHomeDevCentral

Trigger Docker Hub build when source repository is updated
Closed, ResolvedPublic

Description

We maintain Docker images for Tommy, Auth Grove and Notifications center.

Three events should trigger a new build:

Parent image is updatedAlready handled by Docker Hub (repository links)
Image repository is updatedAlready handled by Docker Hub (automated builds)
App repository is updated*Not currently handled**

There is so a need to trigger a new build when code is committed to the application repository.

That requires a map between source application repository and target Docker Hub image.

To trigger a build, documentation gives the following command to trigger a build for all tags/branches:

curl -H "Content-Type: application/json" --data '{"build": true}' -X POST https://registry.hub.docker.com/u/{vendor}/{image}/trigger/{token}/

Event Timeline

dereckson created this task.Jul 29 2016, 01:00
This comment was removed by dereckson.
dereckson claimed this task.Aug 31 2016, 14:24
dereckson changed the status of subtask T1005: Fix Composer package keruald/dockerhub from Invalid to Resolved.