forked from game-ci/unity-test-runner
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mount ssh/known_hosts like in webfactory/ssh-agent#11
- Loading branch information
1 parent
3379f68
commit b7c5988
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,9 +62,10 @@ class Docker { | |
--volume "/home/runner/work/_temp/_github_workflow":"/github/workflow" \ | ||
--volume "${workspace}":"/github/workspace" \ | ||
--volume "/home/runner/.ssh":"/root/.ssh" \ | ||
--volume "/home/runner/.ssh/known_hosts":"/root/.ssh/known_hosts" \ | ||
${useHostNetwork ? '--net=host' : ''} \ | ||
${githubToken ? '--env USE_EXIT_CODE=false' : '--env USE_EXIT_CODE=true'} \ | ||
${image} /bin/bash -c "apt-get update && apt-get --assume-yes install ssh"`; | ||
${image} /bin/bash -c "apt-get update && apt-get --assume-yes install ssh; ssh-add -l && ssh -T [email protected]"`; | ||
|
||
await exec(command, undefined, { silent }); | ||
} | ||
|