From eeb55903bacd930fb4086b0221e7bc69cecd13c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Thu, 26 Oct 2023 11:58:58 +0200 Subject: [PATCH] fix: ko (#206) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .goreleaser.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4fa0a348b..5f1672e83 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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