Skip to content
Snippets Groups Projects
Commit 1fb52bff authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Update .gitlab-ci.yml: Use base64 encoded ssh key

parent 6dd126af
Branches
Tags
No related merge requests found
Pipeline #50 passed
......@@ -15,7 +15,7 @@ before_script:
# Setup SSH deploy keys
- 'which ssh-agent || ( apt-get install -qq openssh-client )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_PRIVATE_KEY")
- ssh-add <(echo "$SSH_PRIVATE_KEY" | base64 -d)
- mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment