mirror of
https://github.com/php/pie.git
synced 2026-03-23 23:12:17 +01:00
Bump actions/attest-build-provenance from 3 to 4
Bumps [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance) from 3 to 4. - [Release notes](https://github.com/actions/attest-build-provenance/releases) - [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md) - [Commits](https://github.com/actions/attest-build-provenance/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/attest-build-provenance dependency-version: '4' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
@@ -90,7 +90,7 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
||||
- name: Generate artifact attestation
|
||||
uses: actions/attest-build-provenance@v3
|
||||
uses: actions/attest@v4
|
||||
with:
|
||||
subject-name: ghcr.io/${{ github.repository }}
|
||||
subject-digest: ${{ steps.build-and-push.outputs.digest }}
|
||||
|
||||
4
.github/workflows/build-assets.yml
vendored
4
.github/workflows/build-assets.yml
vendored
@@ -56,7 +56,7 @@ jobs:
|
||||
# code, which would store attestation that `php/pie` built the PHAR, and
|
||||
# it would look genuine. So this should NOT run for PR builds.
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/attest-build-provenance@v3
|
||||
uses: actions/attest@v4
|
||||
with:
|
||||
subject-path: '${{ github.workspace }}/pie.phar'
|
||||
- uses: actions/upload-artifact@v7
|
||||
@@ -151,7 +151,7 @@ jobs:
|
||||
# code, which would store attestation that `php/pie` built the binaries,
|
||||
# and it would look genuine. So this should NOT run for PR builds.
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/attest-build-provenance@v3
|
||||
uses: actions/attest@v4
|
||||
with:
|
||||
subject-path: '${{ github.workspace }}/${{ env.PIE_BINARY_OUTPUT }}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user