Skip to content

Commit 5408e58

Browse files
committed
drone: fix build process
We need to build the binary on tag so it can be included in the docker image.
1 parent c1bf986 commit 5408e58

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

drone/ci.jsonnet

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ local build(go_version) = {
101101
environment: { CGO_ENABLED: '0' },
102102
depends_on: ['mod-download'],
103103
when: {
104-
event: ['pull_request', 'push'],
104+
event: ['pull_request', 'push', 'tag'],
105105
},
106106
};
107107

drone/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ steps:
5151
event:
5252
- pull_request
5353
- push
54+
- tag
5455
depends_on:
5556
- mod-download
5657

@@ -165,6 +166,7 @@ steps:
165166
event:
166167
- pull_request
167168
- push
169+
- tag
168170
depends_on:
169171
- mod-download
170172

0 commit comments

Comments
 (0)