Skip to content

Commit

Permalink
chore(ci): Output signature from cosign (#2089)
Browse files Browse the repository at this point in the history
GoReleaser is hard-coded to look for a `.sig` file for each artifact.

Signed-off-by: Charith Ellawala <charith@cerbos.dev>

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
  • Loading branch information
charithe committed Apr 9, 2024
1 parent 4c9c159 commit e5b322b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
@@ -1,6 +1,7 @@
---
name: Release
on:
workflow_dispatch:
push:
tags:
- v*
Expand Down
3 changes: 3 additions & 0 deletions .goreleaser.yml
Expand Up @@ -117,6 +117,7 @@ signs:
- --rekor-url
- https://rekor.sigstore.dev/
- "--bundle=${artifact}.bundle"
- "--output-signature=${signature}"
- "${artifact}"
artifacts: all

Expand Down Expand Up @@ -302,6 +303,8 @@ brews:
checksum:
name_template: 'checksums.txt'
release:
extra_files:
- glob: '**/*.bundle'
header: |-
Cerbos {{ .Version }}
---------------------
Expand Down

0 comments on commit e5b322b

Please sign in to comment.