Skip to content

Commit

Permalink
fix: ko (#206)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
  • Loading branch information
eddycharly authored Oct 26, 2023
1 parent d96356e commit eeb5590
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,23 @@ builds:
- windows
- darwin
binary: chainsaw
main: cmd/main.go
main: ./cmd
flags:
- -trimpath
ldflags:
- -s -w -X github.com/kyverno/chainsaw/pkg/version.BuildVersion={{ .Version }}

kos:
- repository: ghcr.io/kyverno/chainsaw
- build: chainsaw
repository: ghcr.io/kyverno/chainsaw
tags:
- '{{.Tag}}'
- '{{ if not .Prerelease }}latest{{ end }}'
bare: true
preserve_import_paths: false
sbom: none
main: cmd/main.go
platforms:
- all
flags:
- -trimpath
ldflags:
- -s -w -X github.com/kyverno/chainsaw/pkg/version.BuildVersion={{ .Version }}

signs:
- cmd: cosign
Expand Down

0 comments on commit eeb5590

Please sign in to comment.