For example your latest image with semantic versioning looks like this:
${DOCKER_HUB_ORG}/${DOCKER_HUB_REPO}:v1.20.0
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.