gitlab-ci: key-scan the correct host
This commit is contained in:
parent
0caf7f5b4f
commit
29c8f7eeba
@ -8,7 +8,7 @@ before_script:
|
|||||||
# prepare git fetching of secrets
|
# prepare git fetching of secrets
|
||||||
- echo "$gitlab_deploy_privkey" > ~/.ssh/gitlab_deploy.key
|
- echo "$gitlab_deploy_privkey" > ~/.ssh/gitlab_deploy.key
|
||||||
- chmod 600 ~/.ssh/gitlab_deploy.key
|
- chmod 600 ~/.ssh/gitlab_deploy.key
|
||||||
- ssh-keyscan -H 'git.shackspace.de' >> ~/.ssh/known_hosts
|
- ssh-keyscan -H 'ssh.git.shackspace.de' >> ~/.ssh/known_hosts
|
||||||
# import secret key for secrets
|
# import secret key for secrets
|
||||||
- echo "$secrets_gpg_key" | gpg --import
|
- echo "$secrets_gpg_key" | gpg --import
|
||||||
wolf deployment test:
|
wolf deployment test:
|
||||||
|
Loading…
Reference in New Issue
Block a user