actions / runner-images

GitHub Actions runner images
MIT License
10.26k stars 3.08k forks source link

Windows cant clone private repos #10858

Closed calebstott closed 2 days ago

calebstott commented 1 month ago

Description

Action fails when cloning private repos through PlatformIO. Due to this we cannot create production builds

Believe #10843 would fix the issue

Platforms affected

Runner images affected

Image version and build link

windows-2019 20241021.1.0 windows-2022 20241015.1.0 (Repos are private)

Is it regression?

Yes (no log available for previous builds)

Expected behavior

Private repos to be cloned with provided keys

Actual behavior

Action fails whenever PlatformIO tries to clone private library dependencies (seems platformio defaults to using SSH)

Repro steps

  1. Set up deploy keys using webfactory/ssh-agent
  2. Try to build a PlatformIO project that has a library dependency found in a private repo
hemanthmanga commented 1 month ago

Hi @calebstott, Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

vidyasagarnimmagaddi commented 1 month ago

Hi @calebstott , Kindly provide the error screenshots or any sample workflow , this will help in resolve the issue. thanks

calebstott commented 1 month ago

This is all I can provide sorry. The runner hangs on line 53 for a few minutes, before failing to clone the private repo image

vidyasagarnimmagaddi commented 3 days ago

Hi @calebstott , As the source: https://github.com/git-for-windows/git/releases , the latest version will be 2.47.1.windows.1 . it will be included in our next image rollout.thanks

vidyasagarnimmagaddi commented 3 days ago

Hi @calebstott , As the source: https://github.com/git-for-windows/git/releases , the latest version will be 2.47.1.windows.1 . it will be included in our next image rollout.thanks

vidyasagarnimmagaddi commented 3 days ago

Hi @calebstott , As the source: https://github.com/git-for-windows/git/releases , the latest version will be 2.47.1.windows.1 . it will be included in our next image rollout.thanks

vidyasagarnimmagaddi commented 2 days ago

Hi @calebstott , The issue will be resolved once the next image rollout happens. And git version of 2.47.1.windows.1 will be included. thanks closing this issue.