Rebase image to 1709

pull/3/head
Stefan Scherer 7 years ago
parent c8f46f90d6
commit 61246a50f7
No known key found for this signature in database
GPG Key ID: 5966AEAC37E957FA

@ -2,9 +2,6 @@ $ErrorActionPreference = 'Stop';
$files = ""
Write-Host Starting build
Write-Host Updating base images
docker pull microsoft/nanoserver
docker build -t whoami -f Dockerfile.windows .
docker build --pull -t whoami -f Dockerfile.windows .
docker images

@ -11,3 +11,10 @@ docker login -u="$env:DOCKER_USER" -p="$env:DOCKER_PASS"
docker tag whoami stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME
docker push stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME
Write-Host Rebasing image to produce 1709 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-1709 `
-b microsoft/nanoserver:1709

Loading…
Cancel
Save