Skip to content

Commit 33d0663

Browse files
committed
remove -buildBits paramater (no longer used)
1 parent eb742bb commit 33d0663

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

k8s/deploy.ps1

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Param(
88
[parameter(Mandatory=$false)][string]$imageTag,
99
[parameter(Mandatory=$false)][bool]$deployCI=$false,
1010
[parameter(Mandatory=$false)][bool]$buildImages=$true,
11-
[parameter(Mandatory=$false)][bool]$buildBits=$false,
1211
[parameter(Mandatory=$false)][bool]$deployInfrastructure=$true,
1312
[parameter(Mandatory=$false)][string]$dockerOrg="eshop"
1413
)
@@ -50,7 +49,6 @@ if(-not $deployCI) {
5049
}
5150
}
5251
else {
53-
$buildBits = false;
5452
$buildImages = false; # Never build images through CI, as they previously built
5553
}
5654

@@ -60,11 +58,7 @@ if ([string]::IsNullOrEmpty($imageTag)) {
6058
}
6159
Write-Host "Docker image Tag: $imageTag" -ForegroundColor Yellow
6260

63-
# building and publishing docker images if needed
64-
if($buildBits) {
65-
Write-Host "Building and publishing eShopOnContainers..." -ForegroundColor Yellow
66-
dotnet publish -c Release -o obj/Docker/publish ../eShopOnContainers-ServicesAndWebApps.sln
67-
}
61+
# building docker images if needed
6862
if ($buildImages) {
6963
Write-Host "Building Docker images tagged with '$imageTag'" -ForegroundColor Yellow
7064
$env:TAG=$imageTag

0 commit comments

Comments
 (0)