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

Commit

Permalink
Generate artifact attestiation for deb and rpm packages (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
baluchicken authored Jun 18, 2024
1 parent a337072 commit eae0ee8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ jobs:

permissions:
contents: write
id-token: write
attestations: write

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

- name: Generate artifact attestation for deb package
uses: actions/attest-build-provenance@v1
with:
subject-path: '../camblet-driver_*.deb'

- name: Build camblet-driver RedHat package
run: make rpm
with:
subject-path: 'rpmbuild/RPMS/noarch/camblet-driver-*.rpm'

- name: Generate artifact attestation for rpm package
uses: actions/attest-build-provenance@v1

- name: Release
uses: ncipollo/release-action@v1
Expand Down

0 comments on commit eae0ee8

Please sign in to comment.