Add amazon-ecr-credential-helper (#5544)

This commit is contained in:
Aleksandr Chebotov
2022-05-16 17:49:51 +02:00
committed by GitHub
parent 888d89126b
commit 17d10f6889
4 changed files with 16 additions and 0 deletions

View File

@@ -88,6 +88,11 @@ function Get-DockerBuildxVersion {
return "Docker-Buildx $buildxVersion"
}
function Get-DockerAmazonECRCredHelperVersion {
$ecrVersion = docker-credential-ecr-login -v | Select-String "Version:" | Take-OutputPart -Part 1
return "Docker Amazon ECR Credential Helper $ecrVersion"
}
function Get-GitVersion {
$gitVersion = git --version | Take-OutputPart -Part -1
$aptSourceRepo = Get-AptSourceRepository -PackageName "git-core"