Skip to content

Commit

Permalink
remove release signing and add more geese and goarches
Browse files Browse the repository at this point in the history
  • Loading branch information
mohammed90 committed Mar 14, 2023
1 parent 651823f commit 584808f
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,15 @@ builds:
main: main.go
dir: ./caddy-build
binary: caddy
# hooks:
# pre:
# - rm -rf caddy-build
# - xcaddy build --with github.com/mohammed90/caddy-ngrok-listener@latest
# - find . -iname 'buildenv*' -exec "mv {} caddy-build;"
goos:
- darwin
# - linux
# - windows
# - freebsd
- linux
- windows
- freebsd
goarch:
- amd64
# - arm
# - arm64
- arm
- arm64
goarm:
- "5"
- "6"
Expand All @@ -41,12 +36,12 @@ builds:
ldflags:
- -s -w

signs:
- cmd: cosign
signature: "${artifact}.sig"
certificate: '{{ trimsuffix (trimsuffix .Env.artifact ".zip") ".tar.gz" }}.pem'
args: ["sign-blob", "--output-signature=${signature}", "--output-certificate", "${certificate}", "${artifact}"]
artifacts: all
# signs:
# - cmd: cosign
# signature: "${artifact}.sig"
# certificate: '{{ trimsuffix (trimsuffix .Env.artifact ".zip") ".tar.gz" }}.pem'
# args: ["sign-blob", "--output-signature=${signature}", "--output-certificate", "${certificate}", "${artifact}"]
# artifacts: all

sboms:
- artifacts: binary
Expand Down

0 comments on commit 584808f

Please sign in to comment.