Testing Docker Hub automated tagging from GitHub tags.
368
This explains how to use git tags in an automated build to get Docker image tags.
First, in the Build Settings tab, activate automated builds on "tag" with the default settings (all tags, Docker image tag same as git tag).
Then, tag your git repository "git tag -a v0.1 -m 'tag version 0.1'" and push to the GitHub repository.
The Docker image will be built with tag 'v0.1' and is from now on pullable with 'docker pull felix11h/docker-tagging-test:v0.1'.
Content type
Image
Digest
Size
45.4 MB
Last updated
almost 9 years ago
docker pull felix11h/docker-tagging-test