Skip to content

Commit c93f5fc

Browse files
authored
ci: install syft in release pipeline for SBOM generation (#326)
1 parent 52785cb commit c93f5fc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ jobs:
8383
install-only: true
8484
version: v2.9.0
8585

86+
- name: Install Syft
87+
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/'))
88+
uses: anchore/sbom-action/download-syft@v0.22.2
89+
8690
- name: Create Release
8791
if: github.event_name == 'push' && (startsWith(github.ref, 'refs/tags/'))
8892
env:

0 commit comments

Comments
 (0)