cn-coach-spider/.ko.yaml
timerzz d4a39a0e45
Some checks failed
Build image / build (push) Failing after 34s
feat init
2024-06-14 16:36:33 +08:00

17 lines
370 B
YAML

defaultPlatforms:
- linux/amd64
defaultBaseImage: alpine:latest
builds:
- id: spider
dir: . # default is .
main: ./cmd
env:
- CGO_ENABLED=0
- GOPROXY=https://goproxy.cn,direct
- GOPRIVATE=gitea.timerzz.com
- GONOSUMDB=gitea.timerzz.com
- GONOPROXY=gitea.timerzz.com
ldflags:
- -s -w
- -extldflags "-static"