mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
Unpin SYFT tool version for Windows images (#9522)
* Unpin SYFT tool version for Windows images * Update upload-artifact action version to v4
This commit is contained in:
4
.github/workflows/create_sbom_report.yml
vendored
4
.github/workflows/create_sbom_report.yml
vendored
@@ -55,7 +55,7 @@ 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 v0.100.0
|
||||
run: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b D:/syft
|
||||
- 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 v0.100.0
|
||||
@@ -74,7 +74,7 @@ jobs:
|
||||
- name: Compress SBOM file
|
||||
run: Compress-Archive sbom.json sbom.json.zip
|
||||
#Upload artifact action
|
||||
- uses: actions/upload-artifact@v3
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: sbom-${{ github.event.client_payload.agentSpec }}-${{ github.event.client_payload.imageVersion }}
|
||||
path: sbom.json.zip
|
||||
|
||||
Reference in New Issue
Block a user