docker and CI (#1)
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/dryrun Pipeline was successful
ci/woodpecker/push/publish-tag Pipeline was successful
ci/woodpecker/push/publish-latest Pipeline failed

Reviewed-on: #1
Co-authored-by: Michael Thomson <michael@michaelthomson.dev>
Co-committed-by: Michael Thomson <michael@michaelthomson.dev>
This commit is contained in:
2024-06-09 03:23:09 +00:00
committed by mthomson
parent 277fa92564
commit 23ac1417be
6 changed files with 72 additions and 1 deletions

12
.woodpecker/build.yaml Normal file
View File

@@ -0,0 +1,12 @@
steps:
build:
when:
branch: main
event: [push, pull_request]
image: golang
environment:
- CGO_ENABLED=0
- GOOS=linux
commands:
- go get
- go build