Is your feature request related to a problem? Please describe.
I try to always use version pinning in docker-compose for all docker images. This ensures that when a problem occurs I can go back by playing back my backup.
Describe the solution you'd like
It would be great to have docker tags for all the git tags.
@JanoschDeurer I'm a noob at docker stuffs. Can you help me resolve this issue?
Yes, gladly, actually Dockerhub has a rather nice integration for this. If you click on your Docker repository and then on the Builds tab you can click on Configure Automated Builds. In the section for Build Rules you can configure additional rules. In your case the rule would be:
Tag/^v[0-9.]+$/{sourceref}Dockerfile/It will the build automatically when a new tag is pushed that matches the regex in Source. For the existing tags it will not run a build.
Done! Thanks for the help.
Nice, thanks :) If you ever need any other help with Docker just let me know.