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

View File

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