re-enable generate-build-provenance step

This commit is contained in:
David Daly
2024-01-29 14:54:24 +00:00
committed by Edwin Sirko
parent 7472b3f822
commit 3c4259bfdd
2 changed files with 16 additions and 7 deletions
+4
View File
@@ -2,6 +2,10 @@ name: 'release'
on: # rebuild any PRs and main branch changes
release:
types: [created]
permissions:
id-token: write
contents: write
packages: write
jobs:
package-and-publish:
runs-on: ubuntu-latest
+12 -7
View File
@@ -1,6 +1,11 @@
name: 'Package and Publish'
description: 'Publish actions as OCI artifacts to GHCR'
permissions:
id-token: write
contents: write
packages: write
# TODO: Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'heart'
@@ -39,10 +44,10 @@ runs:
echo "package manifest sha": ${{steps.publish.outputs.package-manifest-sha}}
echo "package url": ${{steps.publish.outputs.package-url}}
echo "subject name": ${{github.repository}}_${{github.ref}}
# - name: Generate Provenance Attestation
# uses: github-early-access/generate-build-provenance@main
# id: build-provenance
# with:
# subject-name: ${{github.repository}}_${{github.ref}}
# subject-digest: ${{steps.publish.outputs.package-manifest-sha}}
# push-to-registry: false
- name: Generate Provenance Attestation
uses: github-early-access/generate-build-provenance@main
id: build-provenance
with:
subject-name: ${{github.repository}}_${{github.ref}}
subject-digest: ${{steps.publish.outputs.package-manifest-sha}}
push-to-registry: false