updated .drone.yml
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Paul 2020-04-07 00:20:03 +02:00
parent 38096a41e7
commit fa02259794

View File

@ -3,7 +3,20 @@ kind: pipeline
name: default name: default
steps: steps:
- name: build - name: build-linux-amd64
image: golang image: golang
commands: commands:
- make - mkdir dist
- go build -o dist/qrz-$GOOS-$GOARCH -mod=vendor -ldflags="-s -w" cmd/qrz/*.go
environment:
GOOS: linux
GOARCH: amd64
- name: release
image: plugins/gitea-release
settings:
base_url: https://git.paulbsd.com
api_key:
from_secret: gitea_token
files: dist/*
# when:
# event: tag