Commit 18792f5a authored by Johan Bloemberg's avatar Johan Bloemberg

Use git 'docker' image which is sure to contain ssh-agent.

parent e3089781
......@@ -246,9 +246,10 @@ production:
# mirror master on Github for better exposure
github_mirror:
stage: test_build
image: docker:git
# https://gitlab.com/help/ci/ssh_keys/README.md#ssh-keys-when-using-the-docker-executor
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$GITHUB_MIRROR_KEY")
- mkdir -p ~/.ssh
......
Markdown is supported
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