Skip to content

Commit

Permalink
chore: Add GH attestation for foundry binaries (#9546)
Browse files Browse the repository at this point in the history
Add GH attestation
  • Loading branch information
grandizzy authored Dec 12, 2024
1 parent 2eec098 commit e22a9ec
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ jobs:
uses: ./.github/workflows/docker-publish.yml

release:
permissions:
id-token: write
contents: read
attestations: write
name: ${{ matrix.target }} (${{ matrix.runner }})
runs-on: ${{ matrix.runner }}
timeout-minutes: 240
Expand Down Expand Up @@ -156,8 +160,18 @@ jobs:
du -h "$bin" || true
ldd "$bin" || true
$bin --version || true
echo "${name}_bin_path=${bin}" >> $GITHUB_ENV
done
- name: Binaries attestation
uses: actions/attest-build-provenance@v2
with:
subject-path: |
${{ env.anvil_bin_path }}
${{ env.cast_bin_path }}
${{ env.chisel_bin_path }}
${{ env.forge_bin_path }}
- name: Archive binaries
id: artifacts
env:
Expand Down

0 comments on commit e22a9ec

Please sign in to comment.