diff options
author | Ben Kochie <superq@gmail.com> | 2018-03-09 14:34:24 +0100 |
---|---|---|
committer | Ben Kochie <superq@gmail.com> | 2018-03-09 14:34:24 +0100 |
commit | d6a172bb2aa060aed669e7bac1cba89321fe7728 (patch) | |
tree | aca27626eef74d180333e1236a6b30694e1fe0f5 /.circleci | |
parent | 423a7588c84d0f6cb007661d9b7e7514a8453b61 (diff) | |
download | prometheus_node_collector-d6a172bb2aa060aed669e7bac1cba89321fe7728.tar.bz2 prometheus_node_collector-d6a172bb2aa060aed669e7bac1cba89321fe7728.tar.xz prometheus_node_collector-d6a172bb2aa060aed669e7bac1cba89321fe7728.zip |
Add tag filter to build per documentation[0].
[0]: https://circleci.com/docs/2.0/workflows/#git-tag-job-execution
Diffstat (limited to '.circleci')
-rw-r--r-- | .circleci/config.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 4c3a39d..59cfb36 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml | |||
@@ -126,8 +126,14 @@ workflows: | |||
126 | version: 2 | 126 | version: 2 |
127 | node_exporter: | 127 | node_exporter: |
128 | jobs: | 128 | jobs: |
129 | - test | 129 | - test: |
130 | - build | 130 | filters: |
131 | tags: | ||
132 | only: /.*/ | ||
133 | - build: | ||
134 | filters: | ||
135 | tags: | ||
136 | only: /.*/ | ||
131 | - docker_hub_master: | 137 | - docker_hub_master: |
132 | requires: | 138 | requires: |
133 | - test | 139 | - test |