-
Notifications
You must be signed in to change notification settings - Fork 287
Open
Description
Hello,
I've setup an action for a private repository with (private) submodules. I'm using the deploy keys with comments as per the docs.
Everything works fine on the ubuntu-latest runner but when I switch to windows-latest it seems that ssh is not using the proper hostname and instead use the one including the keyname, resulting in an obvious "Name not known" error:
17:58:32.064475 run-command.c:655 trace: run_command: unset GIT_CONFIG_PARAMETERS GIT_DIR; GIT_PROTOCOL=version=2 ssh -o SendEnv=GIT_PROTOCOL git@key-<SHA>.github.com 'git-upload-pack '\''<ORG>/<SUBMODULE>'\'''
Cloning into 'D:/a/<REPO>/<REPO>/<SUBMODULE>'...
ssh: Could not resolve hostname key-<SHA>.github.com: Name or service not known
Error: fatal: Could not read from remote repository.
This seems a bit weird as I haven't seen anyone mentioning that problem in the issues, so I'm wondering if it could be a config problem instead?
Thanks!
devsibwarra, SolomidHero, jan-moeller, ldenefle, jasonashton and 1 more
Metadata
Metadata
Assignees
Labels
No labels