Skip to content

Commit

Permalink
drone: fix build process
Browse files Browse the repository at this point in the history
We need to build the binary on tag so it can be included in the docker
image.
  • Loading branch information
fsouza committed Nov 25, 2019
1 parent d15599a commit cc943f9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion drone/ci.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ local build(go_version) = {
environment: { CGO_ENABLED: '0' },
depends_on: ['mod-download'],
when: {
event: ['pull_request', 'push'],
event: ['pull_request', 'push', 'tag'],
},
};

Expand Down
2 changes: 2 additions & 0 deletions drone/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ steps:
event:
- pull_request
- push
- tag
depends_on:
- mod-download

Expand Down Expand Up @@ -165,6 +166,7 @@ steps:
event:
- pull_request
- push
- tag
depends_on:
- mod-download

Expand Down

0 comments on commit cc943f9

Please sign in to comment.