re-enable generate-build-provenance step

This commit is contained in:
David Daly
2024-02-02 13:02:14 -05:00
committed by Edwin Sirko
parent 7472b3f822
commit 3c4259bfdd
2 changed files with 16 additions and 7 deletions
+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