From 2e3c1763b33fc67c49bee3c74106082c7a7f2c58 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Thu, 1 Aug 2024 14:32:41 -0500 Subject: [PATCH] modifying ko --- .goreleaser.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 17524d0..b79f4d9 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -6,11 +6,14 @@ gitea_urls: api: https://git.hsn.dev/api/v1 download: https://git.hsn.dev skip_tls_verify: false +builds: + - env: ["CGO_ENABLED=0"] + binary: webhook kos: - - id: webhook + - id: cert-manager-webhook-dnsimple platforms: - linux/amd64 - - linux/arm64 + # - linux/arm64 tags: - latest - "{{.Tag}}" @@ -18,6 +21,6 @@ kos: flags: - -trimpath ldflags: - - -s -w + - -w - -extldflags "-static" - -X main.Version={{.Tag}}