Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 update goreleaser with ko settings #17

Merged
merged 1 commit into from
Jun 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@

_certs

bin
bin
dist/
16 changes: 16 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down