build: improve docker image and binary sizes

This commit is contained in:
jagadam97 2025-07-12 11:38:30 +05:30 committed by Henrique Dias
parent 14b0dfec34
commit 35ca24adb8
5 changed files with 16 additions and 3 deletions

View file

@ -40,6 +40,17 @@ archives:
- goos: windows
formats: ["zip"]
upx:
- enabled: true
goos:
- linux
- darwin
goarch:
- amd64
- arm64
compress: "best"
lzma: true
dockers:
# Alpine docker images
- dockerfile: Dockerfile