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:

^(?!master|dev).*

This is instead the tag

{sourceref}

I’m sure the regexp is correct, or at least I’ve validated it using https://regex101.com/

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?