Add woodpecker
Signed-off-by: jolheiser <john.olheiser@gmail.com>main latest
parent
e38d07554c
commit
9700356e09
|
@ -0,0 +1,31 @@
|
|||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git:next
|
||||
|
||||
pipeline:
|
||||
compliance:
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- go test -race ./...
|
||||
- go vet ./...
|
||||
when:
|
||||
event: pull_request
|
||||
|
||||
build:
|
||||
image: golang:1.17
|
||||
commands:
|
||||
- GOOS="linux" go build
|
||||
- GOOS="windows" go build
|
||||
|
||||
release-main:
|
||||
image: jolheiser/drone-gitea-main:latest
|
||||
settings:
|
||||
base: https://git.jojodev.com
|
||||
token:
|
||||
from_secret: gitea_token
|
||||
files:
|
||||
- "clone"
|
||||
- "clone.exe"
|
||||
when:
|
||||
event: push
|
||||
branch: main
|
Reference in New Issue