bake: ensure remote files behind ssh expose agent
The updateContext function may make modifications to the build inputs, creating either an SSH URL, or an SSH llb.State. In these cases, we need to ensure that we appropriately expose the client's default agent. Previously, we would only expose it if the remote context was a git URL, however, we need to also ensure that if the input was used to override the context (in the case of ReadRemoteFiles), that we expose the agent here as well. Signed-off-by: Justin Chadwell <me@jedevc.com>pull/1734/head
parent
672eeed9a6
commit
6c0547e7e6
Loading…
Reference in New Issue