2024-08-01 13:13:18 -05:00
|
|
|
---
|
|
|
|
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
|
2024-08-01 13:36:02 -05:00
|
|
|
version: 2
|
|
|
|
|
2024-08-01 13:13:18 -05:00
|
|
|
gitea_urls:
|
|
|
|
api: https://git.hsn.dev/api/v1
|
|
|
|
download: https://git.hsn.dev
|
2024-08-01 13:36:02 -05:00
|
|
|
skip_tls_verify: false
|
2024-08-01 14:32:41 -05:00
|
|
|
builds:
|
|
|
|
- env: ["CGO_ENABLED=0"]
|
|
|
|
binary: webhook
|
2024-08-01 14:58:52 -05:00
|
|
|
goos:
|
|
|
|
- linux
|
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- arch64
|
|
|
|
|
2024-08-01 13:36:02 -05:00
|
|
|
kos:
|
2024-08-01 14:58:52 -05:00
|
|
|
- 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}}"
|
2024-08-01 13:36:02 -05:00
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
2024-08-01 14:58:52 -05:00
|
|
|
- linux/arm64
|
2024-08-01 13:36:02 -05:00
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- "{{.Tag}}"
|
|
|
|
flags:
|
|
|
|
- -trimpath
|
|
|
|
ldflags:
|
2024-08-01 14:32:41 -05:00
|
|
|
- -w
|
2024-08-01 13:36:02 -05:00
|
|
|
- -extldflags "-static"
|
|
|
|
- -X main.Version={{.Tag}}
|