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:
@@ -55,7 +55,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
- name: Install SYFT tool on Windows
|
- name: Install SYFT tool on Windows
|
||||||
if: ${{ runner.os == '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
|
- name: Install SYFT tool on Ubuntu or macOS
|
||||||
if: ${{ runner.os != 'Windows' }}
|
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
|
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
|
- name: Compress SBOM file
|
||||||
run: Compress-Archive sbom.json sbom.json.zip
|
run: Compress-Archive sbom.json sbom.json.zip
|
||||||
#Upload artifact action
|
#Upload artifact action
|
||||||
- uses: actions/upload-artifact@v3
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: sbom-${{ github.event.client_payload.agentSpec }}-${{ github.event.client_payload.imageVersion }}
|
name: sbom-${{ github.event.client_payload.agentSpec }}-${{ github.event.client_payload.imageVersion }}
|
||||||
path: sbom.json.zip
|
path: sbom.json.zip
|
||||||
|
|||||||
Reference in New Issue
Block a user