In Docker Hub, we are going to use the Create drop-down menu and select Create Automated Build. After selecting it, we will be taken to a screen that will show you the accounts you have linked to either GitHub or Bitbucket:
As you can see from the preceding screenshot, I already have my GitHub account linked to my Docker Hub account. The process of linking the two tools was simple, and all that I had to do was to allow Docker Hub permission to access my GitHub account by following the on-screen instructions.
When connecting Docker Hub to GitHub there are two options:
- Public and Private: This is the recommended option. ...