Add Windows Server, version 1803 image

pull/8/head
Stefan Scherer 6 years ago
parent b0cfe5dba7
commit 4fc856895a
No known key found for this signature in database
GPG Key ID: 5966AEAC37E957FA

@ -18,3 +18,10 @@ rebase-docker-image `
stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME `
-t stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1709 `
-b microsoft/nanoserver:1709
Write-Host Rebasing image to produce 1803 variant
npm install -g rebase-docker-image
rebase-docker-image `
stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME `
-t stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME-1803 `
-b microsoft/nanoserver:1803

@ -28,6 +28,11 @@ if [ "$ARCH" == "amd64" ]; then
sleep 15
echo "Try again"
done
until docker run --rm stefanscherer/winspector "$image:windows-amd64-$TRAVIS_TAG-1803"
do
sleep 15
echo "Try again"
done
set -e
echo "Pushing manifest $image:$TRAVIS_TAG"
@ -36,7 +41,8 @@ if [ "$ARCH" == "amd64" ]; then
"$image:linux-arm-$TRAVIS_TAG" \
"$image:linux-arm64-$TRAVIS_TAG" \
"$image:windows-amd64-$TRAVIS_TAG" \
"$image:windows-amd64-$TRAVIS_TAG-1709"
"$image:windows-amd64-$TRAVIS_TAG-1709" \
"$image:windows-amd64-$TRAVIS_TAG-1803"
docker manifest annotate "$image:$TRAVIS_TAG" "$image:linux-arm-$TRAVIS_TAG" --os linux --arch arm --variant v6
docker manifest annotate "$image:$TRAVIS_TAG" "$image:linux-arm64-$TRAVIS_TAG" --os linux --arch arm64 --variant v8
docker manifest push "$image:$TRAVIS_TAG"
@ -47,7 +53,8 @@ if [ "$ARCH" == "amd64" ]; then
"$image:linux-arm-$TRAVIS_TAG" \
"$image:linux-arm64-$TRAVIS_TAG" \
"$image:windows-amd64-$TRAVIS_TAG" \
"$image:windows-amd64-$TRAVIS_TAG-1709"
"$image:windows-amd64-$TRAVIS_TAG-1709" \
"$image:windows-amd64-$TRAVIS_TAG-1803"
docker manifest annotate "$image:latest" "$image:linux-arm-$TRAVIS_TAG" --os linux --arch arm --variant v6
docker manifest annotate "$image:latest" "$image:linux-arm64-$TRAVIS_TAG" --os linux --arch arm64 --variant v8
docker manifest push "$image:latest"

Loading…
Cancel
Save