Docker Community Forums

Share and learn in the Docker community.

Build is not triggered using regex ^(?!master|dev).*

Hi there,

I’m struggling trying to make a build rule works. The rule is supposed to build all branches besides dev and master, and produce an image with the tag name equal to the branch name.

Here is the regexp I’m using:


This is instead the tag


I’m sure the regexp is correct, or at least I’ve validated it using

Not sure why builds are not triggered at all.

Any idea?

Thank you!

Guys, just trying to move forward here? Nothing?
Do you have any reason in mind why this shouldn’t work on DockerHub?