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:
parent
423a7588c8
commit
d6a172bb2a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue