File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,28 @@ steps:
1818 - git fetch --tags authenticated-origin
1919 - bump patch --allow-dirty > .tags
2020 - git push authenticated-origin --tags
21+ when :
22+ event :
23+ - push
24+
25+ - name : Build binary
26+ image : golang:1.14
27+ commands :
28+ - echo $DRONE_TAG > .tags
2129 - make all
30+ when :
31+ event :
32+ - tag
2233
2334 - name : publish
2435 image : plugins/github-release
2536 settings :
2637 api_key :
2738 from_secret : kite_bot_key
2839 files : bin/*
40+ when :
41+ event :
42+ - tag
2943
3044 - name : Build container
3145 image : plugins/docker
@@ -36,9 +50,13 @@ steps:
3650 from_secret : quay_password
3751 repo : quay.io/openware/goci
3852 registry : quay.io
53+ when :
54+ event :
55+ - push
3956
4057trigger :
4158 event :
4259 - push
60+ - tag
4361 branch :
4462 - master
You can’t perform that action at this time.
0 commit comments