I'm wanting to create a basic 'on new commits to master, rebuild the images and deploy to kubernetes' pipeline.
Docker Hub has its concept of automated builds on new commits, but I'd still need to use Travis CI to do the kubernetes deployment.
Is there a way to synchronise these - so that Travis doesn't start its scripts until Docker Hub has built the image?
Alternatively - I could just do all of the building on Travis CI. But Docker Hub doesn't seem to provide service accounts - or have I got that wrong? It seems like the only way to create a service account is to actually manually create a new username/password for service account. Is that the case?
What are the generally established ways of doing this?
.travis.yml
file you can tell Travis not to run the deployment script unless you are pushing it to master.