docker building with go-releaser & kos
All checks were successful
goreleaser / goreleaser (push) Successful in 2m4s
/ test (push) Successful in 1m27s

This commit is contained in:
Joseph Hanson 2024-08-01 13:36:02 -05:00
parent 9214eba626
commit 881f02a90f
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
2 changed files with 20 additions and 1 deletions

View file

@ -31,6 +31,8 @@ jobs:
env:
GITHUB_TOKEN: ""
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
KO_DOCKER_REPO: git.hsn.dev/${{ github.repository_owner }}/cert-manager-webhook-dnsimple
run: |
echo ${{ github.workspace }}
goreleaser release

View file

@ -1,6 +1,23 @@
---
# 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
skip_tls_verify: false
kos:
- id: cert-manager-webhook-dnsimple
platforms:
- linux/amd64
- linux/arm64
tags:
- latest
- "{{.Tag}}"
bare: true
flags:
- -trimpath
ldflags:
- -s -w
- -extldflags "-static"
- -X main.Version={{.Tag}}