Skip to content

Commit

Permalink
chore: release with attestation (#23)
Browse files Browse the repository at this point in the history
Signed-off-by: Mario Constanti <github@constanti.de>
  • Loading branch information
bavarianbidi committed Sep 10, 2024
1 parent fe4be15 commit b134be2
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
permissions:
contents: write
id-token: write
attestations: write

jobs:
goreleaser:
Expand All @@ -30,4 +31,17 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}

- name: Update new version in krew-index
uses: rajatjindal/krew-release-bot@v0.0.46
uses: rajatjindal/krew-release-bot@v0.0.46

# attest archives
- name: Generate artifact attestation
uses: actions/attest-build-provenance@v1
with:
subject-path: "dist/*.tar.gz"

# attest SBOM
- name: Generate SBOM attestation
uses: actions/attest-sbom@v1
with:
subject-path: "dist/*.tar.gz"
sbom-path: "tmp/kubectl-dpm.bom.spdx"

0 comments on commit b134be2

Please sign in to comment.