This commit is contained in:
parent
38096a41e7
commit
fa02259794
17
.drone.yml
17
.drone.yml
@ -3,7 +3,20 @@ kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
- name: build-linux-amd64
|
||||
image: golang
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user