Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/reusable-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
id-token: write # For cosign
packages: write # For GHCR
contents: read # Not required for public repositories, but for clarity
attestations: write # For build provenance attestations
steps:
- name: Cosign install
uses: sigstore/cosign-installer@faadad0cce49287aee09b3a48701e75088a2c6ad # v4.0.0
Expand Down Expand Up @@ -96,6 +97,17 @@ jobs:
GPG_FILE: "gpg.key"
TMPDIR: "tmp"

- name: Generate build provenance attestations
if: ${{ inputs.goreleaser_config != 'goreleaser-canary.yml' }}
uses: actions/attest-build-provenance@ef244123eb79f2f7a7e75d99086184180e6d0018 # v2.1.0
with:
subject-path: |
dist/*.tar.gz
dist/*.zip
dist/*.deb
dist/*.rpm
dist/*_checksums.txt

- name: "remove gpg key"
run: |
rm gpg.key
Expand Down