qrz/.drone.yml
Paul Lecuq fd063bce70
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
updated .drone.yml
2020-04-07 00:21:25 +02:00

23 lines
460 B
YAML

---
kind: pipeline
name: default
steps:
- name: build-linux-amd64
image: golang
commands:
- 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