mirror of
https://github.com/actions/runner-images.git
synced 2025-12-25 19:11:28 +08:00
Pin syft for SBOM report to v0.100.0 (#9334)
This commit is contained in:
committed by
GitHub
parent
d84718d23e
commit
13d5100df5
4
.github/workflows/create_sbom_report.yml
vendored
4
.github/workflows/create_sbom_report.yml
vendored
@@ -55,10 +55,10 @@ jobs:
|
||||
}
|
||||
- name: Install SYFT tool on Windows
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b D:/syft
|
||||
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b D:/syft v0.100.0
|
||||
- name: Install SYFT tool on Ubuntu or macOS
|
||||
if: ${{ runner.os != 'Windows' }}
|
||||
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin
|
||||
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b /usr/local/bin v0.100.0
|
||||
#Running section.
|
||||
- name: Run SYFT on Windows
|
||||
if: ${{ runner.os == 'Windows' }}
|
||||
|
||||
Reference in New Issue
Block a user