|
|
@ -5,6 +5,7 @@ Write-Host Starting build
|
|
|
|
if ($isWindows) {
|
|
|
|
if ($isWindows) {
|
|
|
|
docker build --pull -t whoami -f Dockerfile.windows .
|
|
|
|
docker build --pull -t whoami -f Dockerfile.windows .
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
docker pull golang
|
|
|
|
docker build --platform "linux/$env:ARCH" -t whoami --build-arg "arch=$env:ARCH" .
|
|
|
|
docker build --platform "linux/$env:ARCH" -t whoami --build-arg "arch=$env:ARCH" .
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|