Skip to content
Snippets Groups Projects
Commit 9ad6a902 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

make the go builder match

parent 1840ff38
No related branches found
No related tags found
1 merge request!1465try chmoding key
Pipeline #11948 passed
......@@ -68,10 +68,11 @@ go-{go_name}-release:
needs: ["go-{go_name}-build"]
before_script:
- mkdir -p ~/.ssh
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- 'command -v ssh-agent >/dev/null || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- chmod 400 "$SSH_PRIVATE_KEY"
- ssh-add "$SSH_PRIVATE_KEY"
- chmod 700 ~/.ssh
- echo "$SSH_PRIVATE_KEY" | ssh-add - > ~/.ssh/id_rsa
- '[[ -f /.dockerenv ]] && echo -e "Host *\\n\\tStrictHostKeyChecking no\\n\\n" > ~/.ssh/config'
script:
- echo "Releasing module to sbin area - {go_name}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment