We maintain Docker images for Tommy, Auth Grove and Notifications center.
Three events should trigger a new build:
Parent image is updated | Already handled by Docker Hub (repository links) |
Image repository is updated | Already 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}/