You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you use ssh://git@github.com/org/repo.git inside Cargo.toml to fetch private dependence I got error.
Error: -18 12:35:18 [ERROR] failed to fetch crates: Updating crates.io index
Updating git repository `ssh://git@github.com/org/repo.git`
error: cannot run ssh: No such file or directory
fatal: unable to fork
error: failed to get `my-dependency` as a dependency of package `my-package v0.1.0 (/github/workspace)`
Caused by:
failed to load source for dependency `my-dependency`
Caused by:
Unable to update ssh://git@github.com/org/repo.git?branch=feat/healtcheck-interface#cc73f02e
Caused by:
failed to clone into: /usr/local/cargo/git/db/(...)
Caused by:
process didn't exit successfully: `git fetch --tags --force --update-head-ok 'ssh://git@github.com/org/repo.git' '+refs/heads/*:refs/remotes/origin/*' '+HEAD:refs/remotes/origin/HEAD'` (exit status: 128)
Describe the bug
When you use
ssh://git@github.com/org/repo.git
inside Cargo.toml to fetch private dependence I got error.job is defined below:
Expected behavior
Should just work out of the box or be possible to configure
Additional context:
To make cargo build works inside docker I need to add
--mount=type=ssh
.for example:
Maybe the issue here is the same
The text was updated successfully, but these errors were encountered: