Docker push only on master branch seems not working

Hi,
Our Travis configuration for Docker push is only to publish it when it’s on master branch and we found out it’s not the case. Below build is not from master branch but you can see that Docker push has been triggered. I wonder why it’s the case.

https://travis-ci.com/lyft/amundsensearchlibrary/builds/151635128#L633

Thanks!
Jin

Please read this bit:

In particular:

tags can be true , false or any other string:

  • tags: true : deployment is triggered if and only if $TRAVIS_TAG is set. Depending on your workflow, you may set $TRAVIS_TAG explicitly, even if this is a non-tag build when it was initiated. This causes the branch condition to be ignored.

Yours is a tagged build, so the deployment fires.