Commit 388c6aee authored by probal31's avatar probal31
Browse files

Add ssh key as file in gitlab settings

parent 6493da40
Pipeline #5765 failed with stages
in 14 minutes and 37 seconds
......@@ -42,7 +42,7 @@ cache:
- echo "Configure ssh agent"
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ssh-add $SSH_PRIVATE_KEY
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment