Skip to content

Commit

Permalink
Add build provenance for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
marcofranssen committed Nov 4, 2021
1 parent 7ad10a7 commit f9812db
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,19 @@ jobs:
docker logout
docker logout ${{ secrets.HSDP_DOCKER_REGISTRY }}
docker logout ghcr.io
provenance:
name: Generate provenance
runs-on: ubuntu-20.04
needs: [release]
if: startsWith(github.ref, 'refs/tags/')

steps:
- name: Generate provenance for release
uses: philips-labs/slsa-provenance-action@v0.2.0
with:
artifact_path: release-assets
output_path: 'provenance.json'
tag_name: "${{ github.ref_name }}"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit f9812db

Please # to comment.