bootstrapping the CI

This commit is contained in:
Andrey Pohilko
2022-08-22 17:41:45 +03:00
parent a654a2fa32
commit 3a11b78f51
3 changed files with 28 additions and 13 deletions

22
.goreleaser.yml Normal file
View File

@@ -0,0 +1,22 @@
# .goreleaser.yml
# Build customization
builds:
- main: ./main.go
binary: helm-dashboard
ldflags: -s -w -X github.com/komodorio/helm-dashboard/main.version={{.Version}} -X github.com/komodorio/helm-dashboard/main.commit={{.Commit}}
goos:
- windows
- darwin
- linux
goarch:
- amd64
- arm64
env:
- CGO_ENABLED=0
archives:
- id: helm-dashboard
format: tar.gz
replacements:
amd64: x86_64
darwin: Darwin
linux: Linux