mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-23 09:36:38 -06:00
setting up key for remote build
This commit is contained in:
1 parent
fe1d076b54
commit
181d81d8b6
1 file changed
+4
-1
@@ -26,8 +26,11 @@ jobs:
|
||||
chmod 700 "$HOME/.ssh"
|
||||
echo "$KEY" > "$HOME/.ssh/id_rsa"
|
||||
chmod 600 "$HOME/.ssh/id_rsa"
|
||||
ssh-agent -s
|
||||
eval "$(ssh-agent -s)"
|
||||
ssh-add "$HOME/.ssh/id_rsa"
|
||||
echo "::set-output name=ssd-path::$HOME/.ssh"
|
||||
echo "::set-output name=ssh-agent-pid::$SSH_AGENT_PID"
|
||||
echo "::set-output name=ssh-auth-sock::$SSH_AUTH_SOCK"
|
||||
ssh -o StrictHostKeyChecking=no -l root -- k3s-sd-03.koehn.com docker version
|
||||
|
||||
- name: Install Docker
|
||||
|
||||
Reference in new issue
Block a user