We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bf4e7d commit b04a231Copy full SHA for b04a231
entrypoint
@@ -7,9 +7,9 @@ if [ -n "$action_ssh_key" ]
7
then
8
echo "Storing private key file for root"
9
mkdir -p /root/.ssh
10
- ssh-keyscan -t rsa github.com >> /root/.ssh/.ssh/known_hosts
11
- ssh-keyscan -t rsa gitlab.com >> /root/.ssh/.ssh/known_hosts
12
- ssh-keyscan -t rsa bitbucket.org >> /root/.ssh/.ssh/known_hosts
+ ssh-keyscan -t rsa github.com >> /root/.ssh/known_hosts
+ ssh-keyscan -t rsa gitlab.com >> /root/.ssh/known_hosts
+ ssh-keyscan -t rsa bitbucket.org >> /root/.ssh/known_hosts
13
echo "$action_ssh_key" > /root/.ssh/id_rsa
14
echo "$action_ssh_key_pub" > /root/.ssh/id_rsa.pub
15
chmod 600 /root/.ssh/id_rsa
0 commit comments