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:
9494 - test_go :
9595 requires : [ build_node ]
9696 release :
97- when :
98- matches : { pattern: /^v.*/ , value: << pipeline.git.tag >> }
9997 jobs :
100- - build_node
98+ - build_node :
99+ filters : { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
101100 - build_go :
102101 requires : [ build_node ]
102+ filters : { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
103103 - publish_gh :
104104 requires : [ build_go ]
105+ filters : { branches: { ignore: /.*/ }, tags: { only: /^v.*/ } }
105106 docker :
106- when :
107- or :
108- - matches : { pattern: /^v.*/ , value: << pipeline.git.tag >> }
109- - matches : { pattern: 'master' , value: << pipeline.git.branch >> }
110107 jobs :
111108 - docker :
112109 context : docker hub
110+ filters : { branches: { only: master }, tags: { only: /^v.*/ } }
You can’t perform that action at this time.
0 commit comments