Compare commits

...

7 commits

Author SHA1 Message Date
8c972504a4
mixing around some settings for kos
Some checks failed
goreleaser / goreleaser (push) Failing after 5s
/ test (push) Failing after 53s
2024-08-01 14:58:52 -05:00
2e3c1763b3
modifying ko
Some checks failed
goreleaser / goreleaser (push) Failing after 2m28s
2024-08-01 14:32:41 -05:00
03dcb696d5
fix mistake
Some checks failed
goreleaser / goreleaser (push) Failing after 5s
2024-08-01 14:12:57 -05:00
b9761d40dc
not a container 2024-08-01 14:07:17 -05:00
68df179bb4
fix clone
Some checks failed
goreleaser / goreleaser (push) Failing after 4s
2024-08-01 14:05:25 -05:00
c3ce64597f
fix clone
Some checks failed
goreleaser / goreleaser (push) Failing after 4s
2024-08-01 14:03:56 -05:00
16ec313e6e
fix clone
Some checks failed
goreleaser / goreleaser (push) Failing after 5s
2024-08-01 14:01:55 -05:00
2 changed files with 19 additions and 3 deletions

View file

@ -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: ""

View file

@ -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}}