Skip to content

Commit

Permalink
feat: add brew tap release (#250)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles-Edouard Brétéché <[email protected]>
  • Loading branch information
eddycharly authored Dec 28, 2023
1 parent 23d7166 commit 7e40bd2
Showing 1 changed file with 26 additions and 12 deletions.
38 changes: 26 additions & 12 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,6 @@ builds:
ldflags:
- -s -w -X github.com/kyverno/kyverno-json/pkg/version.BuildVersion={{ .Version }}

signs:
- cmd: cosign
certificate: '${artifact}.pem'
args:
- sign-blob
- --output-certificate=${certificate}
- --output-signature=${signature}
- ${artifact}
- --yes
artifacts: all
output: true

kos:
- build: kyverno-json
repository: ghcr.io/kyverno/kyverno-json
Expand All @@ -40,6 +28,18 @@ kos:
platforms:
- all

signs:
- cmd: cosign
certificate: '${artifact}.pem'
args:
- sign-blob
- --output-certificate=${certificate}
- --output-signature=${signature}
- ${artifact}
- --yes
artifacts: all
output: true

docker_signs:
- cmd: cosign
artifacts: all
Expand All @@ -49,6 +49,20 @@ docker_signs:
- ${artifact}
- --yes

brews:
- homepage: https://kyverno.github.io/kyverno-json
description: Kyverno for any JSON-compatible payload.
repository:
owner: kyverno
name: kyverno-json
branch: brew-{{.Version}}
pull_request:
enabled: true
base:
owner: kyverno
name: kyverno-json
branch: main

archives:
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'

Expand Down

0 comments on commit 7e40bd2

Please sign in to comment.