For example your latest image with semantic versioning looks like this:
Example provided above will do the folowing:
- Generate token using your github username and password.
- Get list of all tags from repository.
- Increment MINOR version by 1 and set PATCH version to 0.
This example could be useful if you are looking for:
- Docker Hub v2 authorization example for private repos.