I have to build discourse from customized git code base which support ssh based access only. I have modified the app.yml as per this post. What changes should be there to pass my repo’s ssh authentication. I tried the below thing which did’nt work. I just tried to copy ssh key to container.
hooks: after_code: - exec: cd: $home/plugins cmd: - git clone https://github.com/discourse/docker_manager.git - exec: cd: $home cmd: # changes start here - cp ~/.ssh/id_rsa container:~/.ssh/id_rsa - git remote remove origin - git config --remove-section branch.master - git config --remove-section branch.tests-passed - git remote add origin email@example.com:userName/discourse.git - git fetch - git remote set-branches --add origin anonymous-locale - git branch -u origin/anonymous-locale - git reset --hard origin/anonymous-locale