qrz/.drone.yml
Paul Lecuq fa02259794
Some checks failed
continuous-integration/drone/push Build is failing
updated .drone.yml
2020-04-07 00:20:03 +02:00

23 lines
462 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