👷 building docker iamges with new methods

This commit is contained in:
naiba
2022-07-07 10:27:14 +08:00
parent 563875bfdf
commit deb5b95d8f
3 changed files with 66 additions and 15 deletions

25
.goreleaser.dashboard.yml Normal file
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