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
Feature request: provide way to add --ssh argument to docker build command #39
Comments
I have tried using "build_args" for this, but with no success. |
I don't think this is supported for the time being. Have you found a workaround @adam-olema ? |
No workaround for now. I am just running docker build directly in my workflow instead of using the action. This allows me to pass whatever environment and set any args I need. |
While a combined action would make my workflow a lot simpler, in the end I need a level of control this action does not offer. |
I can not believe this is not implemented yet... |
@crazy-max can't wait! Any estimates for this? @adam-olema can you share a code snippet example? |
See #123 |
Sorry, maybe I missleading. How to use that -ssh flag. It's should be file? |
There does not appear to be a way to turn on the newish --ssh forwarding capability of docker build with this action. This is needed to access private github repos from inside the Dockerfile (etc). If this is in some way available, it is not documented.
Some way to place the ssh key(s) (or inject them from a repo secret) and get them to work with RUN --mount=type=ssh would be great. If this ability is already present, then documentation would be greate!
The text was updated successfully, but these errors were encountered: