diff --git a/.travis.yml b/.travis.yml index a93964bb..21cb0378 100644 --- a/.travis.yml +++ b/.travis.yml @@ -43,4 +43,4 @@ stages: - name: Build and push image if: type != pull_request AND branch = master AND tag IS blank AND repo = tomochain/netstats - name: Build and push image (tagged) - if: type != pull_request AND branch = master AND tag = true AND repo = tomochain/netstats + if: type != pull_request AND branch =~ ^v AND tag IS present AND repo = tomochain/netstats