Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ORT Scanner: invalid spec #37

Open
elgohr opened this issue Oct 23, 2024 · 1 comment
Open

ORT Scanner: invalid spec #37

elgohr opened this issue Oct 23, 2024 · 1 comment

Comments

@elgohr
Copy link

elgohr commented Oct 23, 2024

Adding scanner into the run parameter results in

 Running ORT Scanner... 
docker: invalid spec: :/ssh.socket: empty section between colons.
See 'docker run --help'.
Error: Process completed with exit code 125.

Used configuration as

name: Ort
on: 
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]
permissions:
  contents: read
jobs:
  test:
    runs-on: ubuntu-latest
    timeout-minutes: 5
    steps:
      - uses: actions/checkout@v4
      - run: git config --global url.https://github.com/.insteadOf ssh://[email protected]/
      - uses: oss-review-toolkit/ort-ci-github-action@v1
        with:
          run: 'cache-dependencies,analyzer,scanner,evaluator,advisor,reporter,upload-results'
      
@elgohr
Copy link
Author

elgohr commented Oct 23, 2024

I guess it's because of the usage of SSH_AUTH_SOCK that hadn't been set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant