We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba87713 commit e1234dfCopy full SHA for e1234df
1 file changed
.drone.yml
@@ -18,14 +18,28 @@ steps:
18
- git fetch --tags authenticated-origin
19
- bump patch --allow-dirty > .tags
20
- 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
29
- make all
30
31
32
+ - tag
33
34
- name: publish
35
image: plugins/github-release
36
settings:
37
api_key:
38
from_secret: kite_bot_key
39
files: bin/*
40
41
42
43
44
- name: Build container
45
image: plugins/docker
@@ -36,9 +50,13 @@ steps:
50
from_secret: quay_password
51
repo: quay.io/openware/goci
52
registry: quay.io
53
54
55
56
57
trigger:
58
event:
59
- push
60
61
branch:
62
- master
0 commit comments