Skip to content

Commit e22a9ec

Browse files
authored
chore: Add GH attestation for foundry binaries (#9546)
Add GH attestation
1 parent 2eec098 commit e22a9ec

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@ jobs:
6767
uses: ./.github/workflows/docker-publish.yml
6868

6969
release:
70+
permissions:
71+
id-token: write
72+
contents: read
73+
attestations: write
7074
name: ${{ matrix.target }} (${{ matrix.runner }})
7175
runs-on: ${{ matrix.runner }}
7276
timeout-minutes: 240
@@ -156,8 +160,18 @@ jobs:
156160
du -h "$bin" || true
157161
ldd "$bin" || true
158162
$bin --version || true
163+
echo "${name}_bin_path=${bin}" >> $GITHUB_ENV
159164
done
160165
166+
- name: Binaries attestation
167+
uses: actions/attest-build-provenance@v2
168+
with:
169+
subject-path: |
170+
${{ env.anvil_bin_path }}
171+
${{ env.cast_bin_path }}
172+
${{ env.chisel_bin_path }}
173+
${{ env.forge_bin_path }}
174+
161175
- name: Archive binaries
162176
id: artifacts
163177
env:

0 commit comments

Comments
 (0)