From d581b991b537c5c18754278db4da6b653e246399 Mon Sep 17 00:00:00 2001 From: Stefan Scherer Date: Mon, 27 May 2019 15:32:35 +0200 Subject: [PATCH] Add nanoserver 1903 --- README.md | 2 ++ deploy.ps1 | 16 +++++++++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e514139..39d58d2 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,8 @@ Simple HTTP docker service that prints it's container ID - for (almost) any Dock * windows/amd64 10.0.17134.x * Rebase this image to nanoserver:1809 SAC * windows/amd64 10.0.17763.x + * Rebase this image to nanoserver:1903 SAC + * windows/amd64 10.0.18362.x * Wait for all images to be on Docker Hub * Create and push the manifest list * preview of `docker manifest` command diff --git a/deploy.ps1 b/deploy.ps1 index b0b6bdf..fb395cf 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -50,7 +50,15 @@ if ($isWindows) { "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" ` -s microsoft/nanoserver:sac2016 ` -t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1809" ` - -b stefanscherer/nanoserver:10.0.17763.379 + -b stefanscherer/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 ` + -t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1903" ` + -b stefanscherer/nanoserver:1903 } else { # Linux @@ -63,7 +71,8 @@ if ($isWindows) { "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME" ` "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1709" ` "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1803" ` - "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1809" + "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1809" ` + "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1903" docker manifest annotate "$($image):$env:APPVEYOR_REPO_TAG_NAME" "$($image):linux-arm-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm --variant v6 docker manifest annotate "$($image):$env:APPVEYOR_REPO_TAG_NAME" "$($image):linux-arm64-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm64 --variant v8 docker manifest push "$($image):$env:APPVEYOR_REPO_TAG_NAME" @@ -76,7 +85,8 @@ if ($isWindows) { "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME" ` "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1709" ` "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1803" ` - "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1809" + "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1809" ` + "$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1903" docker manifest annotate "$($image):latest" "$($image):linux-arm-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm --variant v6 docker manifest annotate "$($image):latest" "$($image):linux-arm64-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm64 --variant v8 docker manifest push "$($image):latest"