Another attempt at SSH auth
continuous-integration/drone/push Build is failing Details

This commit is contained in:
3wc 2023-01-15 18:59:47 -08:00
parent e440c46ff1
commit 665d602765
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@ steps:
commands:
- apk add --no-cache git openssh
- mkdir $HOME/.ssh/
- echo "SSH_$KEY" > $HOME/.ssh/id_rsa
- eval `ssh-agent`
- echo "$SSH_KEY" | ssh-add -
- ssh-keyscan -p 2222 -t rsa git.coopcloud.tech >> $HOME/.ssh/known_hosts
- chmod -R go-rwx $HOME/.ssh
- mkdir /.abra/