👷 building docker iamges with new methods

This commit is contained in:
naiba
2022-07-07 10:27:14 +08:00
parent 2b44a7cd00
commit 6af93f1a62
3 changed files with 66 additions and 15 deletions
+25
View File
@@ -0,0 +1,25 @@
before:
hooks:
- go mod tidy -v
builds:
- id: universal
env:
- CGO_ENABLED=1
flags:
- -tags
- sqlite
ldflags:
- -s -w
goos:
- linux
goarch:
- arm
- arm64
- amd64
- s390x
goarm:
- 7
gomips:
- softfloat
main: ./cmd/dashboard
binary: dashboard