mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
[Windows] Install Docker-wincred (#4540)
* Add Docker WinCred * fix getting docker url * Use Expand-Archive instead of Extract-7Zip since 7zip is not installed yet
This commit is contained in:
@@ -61,6 +61,11 @@ function Get-DockerComposeVersion {
|
||||
return "Docker-compose $dockerComposeVersion"
|
||||
}
|
||||
|
||||
function Get-DockerWincredVersion {
|
||||
$dockerCredVersion = $(docker-credential-wincred version)
|
||||
return "Docker-wincred $dockerCredVersion"
|
||||
}
|
||||
|
||||
function Get-GitVersion {
|
||||
$(git version) -match "git version (?<version>\d+\.\d+\.\d+)" | Out-Null
|
||||
$gitVersion = $Matches.Version
|
||||
|
||||
Reference in New Issue
Block a user