-
Notifications
You must be signed in to change notification settings - Fork 34
Open
Description
The current version of ghcr.io/psalm/psalm-security-scan:5.12.0
does not have ssh in the container preventing the installation of private dependencies as described here https://github.com/psalm/psalm-github-actions/blob/master/README.md#auth-for-private-composer-repositories
$ docker run -ti --rm --entrypoint sh ghcr.io/psalm/psalm-security-scan:5.12.0 ssh
sh: can't open 'ssh': No such file or directory
Error from GitHub action
Error: Failed to execute git clone --mirror -- 'ssh://[email protected]/my-org/my-dep.git' '/github/home/.composer/cache/vcs/ssh---git-github.com-my-org-my-dep.git/'
Cloning into bare repository '/github/home/.composer/cache/vcs/ssh---git-github.com-my-org-my-dep.git'...
error: cannot run ssh: No such file or directory
fatal: unable to fork
I was able to resolve this by installing the dependencies in an earlier step, Is that the intended method?
Metadata
Metadata
Assignees
Labels
No labels