未验证 提交 6012944a 编写于 作者: N Nick Gerace 提交者: GitHub

Merge pull request #32037 from nickgerace/master-amd64

Rely on Windows manifests instead of manual tags
...@@ -788,15 +788,19 @@ function usage { ...@@ -788,15 +788,19 @@ function usage {
$fullname_images = @() $fullname_images = @()
Get-Content -Force -Path $image_list | ForEach-Object { Get-Content -Force -Path $image_list | ForEach-Object {
if ($_) { if ($_) {
$fullname_image = ('{0}-windows-{1}' -f $_, $os_release_id) $fullname_image = $_
echo "Pulling $fullname_image" echo "Pulling: $fullname_image"
docker pull $fullname_image docker pull $fullname_image
if (!$?) {
$fullname_image = ('{0}-windows-{1}' -f $fullname_image, $os_release_id)
echo "Pulling with windows-VERSION suffix: $fullname_image"
docker pull $fullname_image
}
if ($?) { if ($?) {
$fullname_images += @($fullname_image) $fullname_images += @($fullname_image)
} }
} }
} }
if (-not $fullname_images) if (-not $fullname_images)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册