We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have some private repositories as dependend packages for my dbt project as described in the dbt documentation here.
I need a way to add a private SSH key for private repositories via an environment variable.
Add a default ~/.ssh/config:
~/.ssh/config
Host github.com HostName github.com User git IdentityFile ~/.ssh/id
Add the following commands to the dockerfile:
RUN echo "$DBT_ACTION_GIT_SSH_KEY" > ~/.ssh/id RUN chmod 0600 ~/.ssh/id RUN ssh-keyscan -H github.com >> ~/.ssh/known_hosts
*not tested
The text was updated successfully, but these errors were encountered:
I tried myself to make this work, but was not able to do so.
I switched now from git ssh packages over to use HTTPS with Git Token Method for authentication as workaround. It works quite well.
Sorry, something went wrong.
No branches or pull requests
I have some private repositories as dependend packages for my dbt project as described in the dbt documentation here.
I need a way to add a private SSH key for private repositories via an environment variable.
Sample solution:
Add a default
~/.ssh/config
:Add the following commands to the dockerfile:
*not tested
The text was updated successfully, but these errors were encountered: