Conversation
- Build-in (or mount) private key in envbuilder image for access repository
Co-authored-by: Aaron Lehmann <aaronl@vitelus.com>
Parse first layer of path to find valid private key.
ast9501
left a comment
There was a problem hiding this comment.
I have added some commits for fix/improve some problems according to comment message.
| ``` | ||
|
|
||
| ### PrivateKey-based authentication | ||
| * Prebuild private key in your envbuilder image |
There was a problem hiding this comment.
Isn't this dangerous if we use a cache registry ?
The layer containing the private key may end up in the registry, or am I missing something ?
There was a problem hiding this comment.
My original assumption was that this image may be stored in a private registry, so I didn't take into consideration the potential issue of having a private key in the image layers.
|
Is there any other way as of right now to clone a private repository? |
Maybe you can reference to README doc, there are some guides to access to different kind of git (also for private repository): |
Allow using private key to access repositories.