Pushing to Dockerhub
From charlesreid1
To push built containers to Dockerhub:
- Dockerhub provides a webhook endpoint (listener) for any project that you set up on Dockerhub
- You should set up a webhook in your Github repository that will send a message to the Dockerhub endpoint
- Once that's done, and your Dockerhub project is associated with your Github repo, any commits to your Github repo will trigger Dockerhub to re-make your container
To control which branches and tags are built:
- Log in to dockerhub
- Click the project
- Click the "Build Settings" tab
- Specify whether you want to build a branch or a tag
- Specify its name
- Save
Also see Git/Tags