Open pradeepchhetri opened 8 years ago
Can you mount your ssh directory instead the container using -v ${HOME}/.ssh:${HOME}/.ssh
? This way the container would have access to your keys.
if source :git => "https://${GITHUB_TOKEN}@github.com/foo/bar.git"
is used after build the version-manifest.json
contains GITHUB_TOKEN
value in locked_source
thus, it is not usable solution.
is there any other way ?
Hello,
One of the software dependencies I have in my project is a private github repository. What I can think of is passing github token as some environment variable and use that in the software definition.
source :git => "https://${GITHUB_TOKEN}@github.com/foo/bar.git"
I don't want to use key because i am running omnibus inside containers and don't want to push keys inside images.
I would like to hear if there are better approaches for solving it.
Thank you.