File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -94,19 +94,17 @@ workflows:
94
94
- test_go :
95
95
requires : [ build_node ]
96
96
release :
97
- when :
98
- matches : { pattern: /^v.*/ , value: << pipeline.git.tag >> }
99
97
jobs :
100
- - build_node
98
+ - build_node :
99
+ filters : { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
101
100
- build_go :
102
101
requires : [ build_node ]
102
+ filters : { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
103
103
- publish_gh :
104
104
requires : [ build_go ]
105
+ filters : { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
105
106
docker :
106
- when :
107
- or :
108
- - matches : { pattern: /^v.*/ , value: << pipeline.git.tag >> }
109
- - matches : { pattern: 'master' , value: << pipeline.git.branch >> }
110
107
jobs :
111
108
- docker :
112
109
context : docker hub
110
+ filters : { branches: { only: master }, tags: { only: /^v.*/ } }
You can’t perform that action at this time.
0 commit comments