|
|
|
@ -35,30 +35,27 @@ if ($isWindows) {
|
|
|
|
|
rebase-docker-image `
|
|
|
|
|
"$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" `
|
|
|
|
|
-t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1709" `
|
|
|
|
|
-b microsoft/nanoserver:1709
|
|
|
|
|
-b mcr.microsoft.com/windows/nanoserver:1709
|
|
|
|
|
|
|
|
|
|
Write-Host "Rebasing image to produce 1803 variant"
|
|
|
|
|
npm install -g rebase-docker-image
|
|
|
|
|
rebase-docker-image `
|
|
|
|
|
"$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" `
|
|
|
|
|
-t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1803" `
|
|
|
|
|
-b microsoft/nanoserver:1803
|
|
|
|
|
-b mcr.microsoft.com/windows/nanoserver:1803
|
|
|
|
|
|
|
|
|
|
Write-Host "Rebasing image to produce 1809 variant"
|
|
|
|
|
npm install -g rebase-docker-image
|
|
|
|
|
rebase-docker-image `
|
|
|
|
|
"$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" `
|
|
|
|
|
-s microsoft/nanoserver:sac2016 `
|
|
|
|
|
-s mcr.microsoft.com/windows/nanoserver:sac2016 `
|
|
|
|
|
-t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1809" `
|
|
|
|
|
-b stefanscherer/nanoserver:1809
|
|
|
|
|
-b mcr.microsoft.com/windows/nanoserver:1809
|
|
|
|
|
|
|
|
|
|
Write-Host "Rebasing image to produce 1903 variant"
|
|
|
|
|
npm install -g rebase-docker-image
|
|
|
|
|
rebase-docker-image `
|
|
|
|
|
"$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" `
|
|
|
|
|
-s microsoft/nanoserver:sac2016 `
|
|
|
|
|
-s mcr.microsoft.com/windows/nanoserver:sac2016 `
|
|
|
|
|
-t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1903" `
|
|
|
|
|
-b stefanscherer/nanoserver:1903
|
|
|
|
|
-b mcr.microsoft.com/windows/nanoserver:1903
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
# Linux
|
|
|
|
|