Skip to content

Commit

Permalink
chore: pin osv-scanner
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
andrew-coleman committed Jan 31, 2025
1 parent a0ef1dd commit 44c0e2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
with:
name: cyclonedx-sbom
- name: Scan
run: docker run --rm -v "${PWD}/${{ matrix.project }}/build/reports/bom.json:/bom.json" ghcr.io/google/osv-scanner --sbom /bom.json
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
java:
name: Build and Test Java
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion isthmus-cli/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ graal {
option("-H:IncludeResources=.*yaml")
option("--report-unsupported-elements-at-runtime")
option("-H:+ReportExceptionStackTraces")
option("-H:DynamicProxyConfigurationFiles=proxies.json")
option("-H:DynamicProxyConfigurationFiles=isthmus-cli/proxies.json")
option("--features=io.substrait.isthmus.cli.RegisterAtRuntime")
option("-J--enable-preview")
}

0 comments on commit 44c0e2a

Please sign in to comment.