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

Closed
elgohr opened this issue Oct 23, 2024 · 4 comments · Fixed by #38
Closed

ORT Scanner: invalid spec #37

elgohr opened this issue Oct 23, 2024 · 4 comments · Fixed by #38

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://git@github.com/
      - 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

@cz-dev-ge
Copy link
Contributor

Same here. How do we fix it?

sschuberth added a commit that referenced this issue Dec 16, 2024
Fixes #37.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
@sschuberth
Copy link
Member

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

Right, which in turn means that ssh-agent was not started. Please give #38 a try.

@cz-dev-ge
Copy link
Contributor

It works. Thanks.

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