Skip to content

Commit 2c53e66

Browse files
chore: pin osv-scanner (#324)
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 2c53e66

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/pr.yml

+4-2
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
@@ -130,7 +130,9 @@ jobs:
130130
- name: Install GraalVM native image
131131
run: gu install native-image
132132
- name: Build with Gradle
133-
run: gradle nativeImage
133+
run: |
134+
ln -s isthmus-cli/proxies.json
135+
gradle nativeImage
134136
- name: Smoke Test
135137
run: |
136138
./isthmus-cli/src/test/script/smoke.sh

0 commit comments

Comments
 (0)