Category: github, automation, yaml

What we need: When a commit or a merge is done to a branch, this will tr igger Travis and run a list of instructions to build and run our tests. If the build is done successfully and every test passes, Travis will push our Docker image to Docker Hub and trigger an update event on ECS telling to our cluster that it has a new image version to be downloaded.

You should see something similar to this when complete: and it’s now been pushed to Docker Hub…

You will see your GitHub repo you have your travis file uploaded to.

After building and testing Travis will deploy our image to Docker Hub and notify ECS that there’s a new version.

Related Articles