generated from kedaya_haitao/template
17 lines
374 B
YAML
17 lines
374 B
YAML
|
defaultPlatforms:
|
||
|
- linux/amd64
|
||
|
defaultBaseImage: alpine:latest
|
||
|
builds:
|
||
|
- id: profitRate
|
||
|
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"
|