I just pushed a new Git tag to a GitHub repository of mine and noticed that the automatic build feature stopped working for me. I am using the “match versions” build rule from the “example build rules” in the “Build settings” section:
Type: Tag
Name: /^[0-9.]+$/
Dockerfile location: /
Docker Tag Name: {sourceref}
My most recent Git tag is “0.1.3”, which should be matched by the Regex.
@djbrown: Where did you configure your non-Classic Automated Build?
I linked my GitHub account and deleted all previous build rules, but my build rules interface still looks the same (no “Autobuild” and “Build caching” settings visible).
You should also be able to navigate there via UI by goiing to your Repo on Docker Cloud > Builds > Configure Automated Builds (see screenshot).
Maybe you also have to delete Docker Hub and/or Docker Cloud integrations from GitHub.
You can also try to turn off Classic Automated Builds (deselect “When active, builds will trigger automatically on push actions.” under Build Settings section).
Deleting integrations did not change anything for me. I have just removed and recreated the complete repository on Docker Hub and now I can finally configure automated builds as expected.