Compare commits
7 commits
5e18c2cc36
...
8c972504a4
Author | SHA1 | Date | |
---|---|---|---|
8c972504a4 | |||
2e3c1763b3 | |||
03dcb696d5 | |||
b9761d40dc | |||
68df179bb4 | |||
c3ce64597f | |||
16ec313e6e |
2 changed files with 19 additions and 3 deletions
|
@ -28,6 +28,7 @@ jobs:
|
|||
echo "URL: ${{ env.REPO_URL }}"
|
||||
git clone ${{ env.REPO_URL }} ${{ github.workspace }}
|
||||
echo "Repository cloned!"
|
||||
git checkout ${GITHUB_REF_NAME}
|
||||
- name: Run goreleaser
|
||||
env:
|
||||
GITHUB_TOKEN: ""
|
||||
|
|
|
@ -6,18 +6,33 @@ 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:
|
||||
- id: cert-manager-webhook-dnsimple
|
||||
- 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}}"
|
||||
bare: true
|
||||
flags:
|
||||
- -trimpath
|
||||
ldflags:
|
||||
- -s -w
|
||||
- -w
|
||||
- -extldflags "-static"
|
||||
- -X main.Version={{.Tag}}
|
||||
|
|
Loading…
Reference in a new issue