diff --git a/.gitignore b/.gitignore index 09ed928..f7b5952 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ _certs -bin \ No newline at end of file +bin +dist/ diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 983332e..8ae38c7 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -15,12 +15,28 @@ builds: goarch: ppc64le env: - CGO_ENABLED=0 +- id: "manager" + main: ./cmd/manager + binary: bin/manager + ldflags: + - "{{ .Env.LDFLAGS }}" + goos: + - linux + goarch: + - amd64 + - arm64 + ignore: + - goos: darwin + goarch: ppc64le + env: + - CGO_ENABLED=0 archives: - id: kflex builds: - kflex kos: - main: ./cmd/manager + build: manager tags: - '{{.Version}}' - latest