The steps explained
Our example, okeydokey, is a web service that always echoes OK to every request, and the code as well as the files for deployment are committed in our repository over in GitHub: https://github.com/DevOps-with-Kubernetes/okeydokey.
Before configuring our builds on Travis CI, let's create an image repository in Docker Hub first for later use. After signing in to Docker Hub, press the huge Create Repository button at the top right, and then follow the steps onscreen to create one. The image repository of okeydokey is at devopswithkubernetes/okeydokey (https://hub.docker.com/r/devopswithkubernetes/okeydokey/).
Connecting Travis CI with a GitHub repository is quite simple; all we need to do is authorize Travis CI to access ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access