Build and tag for multi-arch

pull/2/head
Stefan Scherer 7 years ago
parent d996022530
commit a2d3ba6044
No known key found for this signature in database
GPG Key ID: 5966AEAC37E957FA

@ -8,7 +8,6 @@ if (! (Test-Path Env:\APPVEYOR_REPO_TAG_NAME)) {
Write-Host Starting deploy
docker login -u="$env:DOCKER_USER" -p="$env:DOCKER_PASS"
docker tag whoami stefanscherer/whoami-windows:$env:APPVEYOR_REPO_TAG_NAME
docker tag whoami stefanscherer/whoami-windows:latest
docker push stefanscherer/whoami-windows:$env:APPVEYOR_REPO_TAG_NAME
docker push stefanscherer/whoami-windows:latest
docker tag whoami stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME
docker push stefanscherer/whoami:windows-amd64-$env:APPVEYOR_REPO_TAG_NAME

@ -1,4 +1,6 @@
version: 1.0.{build}
image: Visual Studio 2017
environment:
DOCKER_USER:
secure: LjNiW/ZWrfVIJn3Mc9foeg==
@ -6,10 +8,17 @@ environment:
secure: 4gsl5WiqIztEWhL5fuhp9X0qT/mKg9fYzKYUUPf5WStIuNddv0fvIKGmvvyuFzzd
build_script:
- ps: .\build.ps1
- ps: .\appveyor-build.ps1
test_script:
- ps: .\test.ps1
- ps: .\appveyor-test.ps1
deploy_script:
- ps: .\deploy.ps1
- ps: >-
if (Test-Path Env:\APPVEYOR_REPO_TAG_NAME) {
docker login -u="$env:DOCKER_USER" -p="$env:DOCKER_PASS"
.\appveyor-deploy.ps1
}

Loading…
Cancel
Save