Add woodpecker
ci/woodpecker/push/woodpecker Pipeline was successful Details
ci/woodpecker/tag/woodpecker Pipeline was successful Details

Signed-off-by: jolheiser <john.olheiser@gmail.com>
jolheiser 2022-02-24 22:20:31 -06:00
parent e38d07554c
commit bf463c8104
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
1 changed files with 31 additions and 0 deletions

31
.woodpecker.yml 100644
View File

@ -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:
- "cabinet"
- "cabinet.exe"
when:
event: push
branch: main