Add tag filter to build per documentation[0].

[0]: https://circleci.com/docs/2.0/workflows/#git-tag-job-execution
This commit is contained in:
Ben Kochie 2018-03-09 14:34:24 +01:00
parent 423a7588c8
commit d6a172bb2a
1 changed files with 8 additions and 2 deletions

View File

@ -126,8 +126,14 @@ workflows:
version: 2
node_exporter:
jobs:
- test
- build
- test:
filters:
tags:
only: /.*/
- build:
filters:
tags:
only: /.*/
- docker_hub_master:
requires:
- test