Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Commit eae0ee8

Browse files
authored
Generate artifact attestiation for deb and rpm packages (#227)
1 parent a337072 commit eae0ee8

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/release.yml

+12
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111

1212
permissions:
1313
contents: write
14+
id-token: write
15+
attestations: write
1416

1517
steps:
1618
- uses: actions/checkout@v4
@@ -27,8 +29,18 @@ jobs:
2729
- name: Test camblet-driver Debian package
2830
run: sudo apt install -y ../camblet-driver_${{github.ref_name}}_all.deb
2931

32+
- name: Generate artifact attestation for deb package
33+
uses: actions/attest-build-provenance@v1
34+
with:
35+
subject-path: '../camblet-driver_*.deb'
36+
3037
- name: Build camblet-driver RedHat package
3138
run: make rpm
39+
with:
40+
subject-path: 'rpmbuild/RPMS/noarch/camblet-driver-*.rpm'
41+
42+
- name: Generate artifact attestation for rpm package
43+
uses: actions/attest-build-provenance@v1
3244

3345
- name: Release
3446
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)