-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
Add option to use SSH for cloning repo #75
Conversation
This might also help with #69 assuming that Github doesnt cache ssh responses. |
Has to be tested tho, because I don't reckon any reason why GIthub might process caching differently between SSH and HTTPS cloning |
@RayaneB75 I just opened woodpecker-ci/woodpecker#2198 which will add a new env var |
Why do you want to clone via ssh instead of https? |
Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@6543 you wanna review again?
🎉 This PR is included in version 2.2.0 🎉 The release is now available here Thank you for your contribution. ❤️📦🚀 |
was added back in 2.2.0 ( #75 ) --------- Co-authored-by: 6543 <6543@obermui.de>
New env vars available :
PLUGIN_USE_SSH
to true enables SSH cloningPLUGIN_SSH_KEY
to the path of a custom SSH KeyThis PR uses the new
CI_REPO_CLONE_SSH_URL
env var to the path of the clone ssh urlcloses #58