Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
FIX: enhanced build/release
Browse files Browse the repository at this point in the history
  • Loading branch information
domrim committed Apr 20, 2020
1 parent 18fcb65 commit d0ae83d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,24 @@
kind: pipeline
name: default

platform:
arch: amd64

steps:
- name: build
image: golang
commands:
- cd exporter
- go build
- go build -o exporter-amd64
- name: publish
image: plugins/github-release
settings:
api_key:
from_secret: github_apikey
files: exporter/exporter
files: exporter/exporter-amd64
checksum:
- sha1
- sha256
- sha512
when:
event: tag

0 comments on commit d0ae83d

Please sign in to comment.