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
|
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
|
||||||
|
|
Loading…
Reference in New Issue