Skip to content

Commit 235875e

Browse files
chore: pin osv-scanner
The `ghcr.io/google/osv-scanner:latest` docker image was updated to `v2.0.0-beta1`. This breaks the build with the error: `Failed to parse SBOM "/bom.json" with error: could not determine extractor suitable to this file` This commit pins the image tag to last working release `v1.9.2` Signed-off-by: Andrew Coleman <[email protected]>
1 parent a0ef1dd commit 235875e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
name: cyclonedx-sbom
7171
- name: Scan
72-
run: docker run --rm -v "${PWD}/${{ matrix.project }}/build/reports/bom.json:/bom.json" ghcr.io/google/osv-scanner --sbom /bom.json
72+
run: docker run --rm -v "${PWD}/${{ matrix.project }}/build/reports/bom.json:/bom.json" ghcr.io/google/osv-scanner:v1.9.2 --sbom /bom.json
7373
java:
7474
name: Build and Test Java
7575
runs-on: ubuntu-latest
@@ -112,7 +112,7 @@ jobs:
112112
runs-on: ${{ matrix.os }}
113113
strategy:
114114
matrix:
115-
os: [ubuntu-latest, macOS-latest]
115+
os: [ubuntu-latest]
116116
steps:
117117
- uses: actions/checkout@v4
118118
with:

0 commit comments

Comments
 (0)