Skip to content
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

Supports Passing SSH Agent Socket to Build Options #434

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

rience
Copy link
Contributor

@rience rience commented Aug 26, 2023

This PR adds support for passing ssh agent socket as documented in here: https://docs.docker.com/engine/reference/commandline/buildx_build/#ssh

This allows accessing private repositories without passing GITHUB_TOKEN.

If that's accepted - I'll follow up with PR to Kamal site with documentation.

P.S. Only after I opened this one I noticed #235 doing similar thing. This one though does not pass any SSH arguments if not configured - so it doesn't affect default behaviour. I'm happy to contribute to the other one if said so to get this merged.

@rience rience closed this Aug 26, 2023
@rience rience deleted the ssh-agent-support branch August 26, 2023 06:53
@rience rience restored the ssh-agent-support branch August 26, 2023 06:55
@rience rience reopened this Aug 26, 2023
@rience rience force-pushed the ssh-agent-support branch from 5780603 to 039a147 Compare August 26, 2023 07:09
@rience rience force-pushed the ssh-agent-support branch 2 times, most recently from 05d94ef to c686b66 Compare September 6, 2023 13:37
@djmb djmb merged commit db94789 into basecamp:main Mar 4, 2024
7 checks passed
@rience rience deleted the ssh-agent-support branch March 25, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants