Skip to content

Commit 6eeb8a5

Browse files
Merge pull request #15 from StefanScherer/add-2004
Add 1909 and 2004
2 parents 5f17f35 + 1cee568 commit 6eeb8a5

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ Simple HTTP docker service that prints it's container ID - for (almost) any Dock
2424
* windows/amd64 10.0.17763.x
2525
* Rebase this image to nanoserver:1903 SAC
2626
* windows/amd64 10.0.18362.x
27+
* Rebase this image to nanoserver:1909 SAC
28+
* windows/amd64 10.0.18363.x
29+
* Rebase this image to nanoserver:2004 SAC
30+
* windows/amd64 10.0.19041.x
2731
* Wait for all images to be on Docker Hub
2832
* Create and push the manifest list
2933
* preview of `docker manifest` command

deploy.ps1

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,20 @@ if ($isWindows) {
6161
-t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1903" `
6262
-b stefanscherer/nanoserver:1903
6363

64+
Write-Host "Rebasing image to produce 1909 variant"
65+
rebase-docker-image `
66+
"$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" `
67+
-s stefanscherer/nanoserver:1809 `
68+
-t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-1909" `
69+
-b stefanscherer/nanoserver:1909
70+
71+
Write-Host "Rebasing image to produce 2004 variant"
72+
rebase-docker-image `
73+
"$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME" `
74+
-s stefanscherer/nanoserver:1809 `
75+
-t "$($image):$os-$env:ARCH-$env:APPVEYOR_REPO_TAG_NAME-2004" `
76+
-b stefanscherer/nanoserver:2004
77+
6478
} else {
6579
# Linux
6680
if ($env:ARCH -eq "amd64") {
@@ -73,7 +87,9 @@ if ($isWindows) {
7387
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1709" `
7488
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1803" `
7589
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME" `
76-
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1903"
90+
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1903" `
91+
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1909" `
92+
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-2004"
7793
docker manifest annotate "$($image):$env:APPVEYOR_REPO_TAG_NAME" "$($image):linux-arm-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm --variant v6
7894
docker manifest annotate "$($image):$env:APPVEYOR_REPO_TAG_NAME" "$($image):linux-arm64-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm64 --variant v8
7995
docker manifest push "$($image):$env:APPVEYOR_REPO_TAG_NAME"
@@ -87,7 +103,9 @@ if ($isWindows) {
87103
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1709" `
88104
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1803" `
89105
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME" `
90-
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1903"
106+
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1903" `
107+
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1909" `
108+
"$($image):windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-2004"
91109
docker manifest annotate "$($image):latest" "$($image):linux-arm-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm --variant v6
92110
docker manifest annotate "$($image):latest" "$($image):linux-arm64-$env:APPVEYOR_REPO_TAG_NAME" --os linux --arch arm64 --variant v8
93111
docker manifest push "$($image):latest"

0 commit comments

Comments
 (0)