cert-manager-webhook-dnsimple/.goreleaser.yaml
Joseph Hanson 8c972504a4
Some checks failed
goreleaser / goreleaser (push) Failing after 5s
/ test (push) Failing after 53s
mixing around some settings for kos
2024-08-01 14:58:52 -05:00

38 lines
854 B
YAML

---
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
version: 2
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
goos:
- linux
goarch:
- amd64
- arch64
kos:
- repository: git.hsn.dev/jahanson/cert-manager-webhook-dnsimple
id: cert-manager-webhook-dnsimple
# Chainguard Static is the default base image.
# cgr.dev/chainguard/static
# base_image: alpine
bare: true
creation_time: "{{.CommitTimestamp}}"
ko_data_creation_time: "{{.CommitTimestamp}}"
platforms:
- linux/amd64
- linux/arm64
tags:
- latest
- "{{.Tag}}"
flags:
- -trimpath
ldflags:
- -w
- -extldflags "-static"
- -X main.Version={{.Tag}}