File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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}
5251else {
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}
6159Write-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
6862if ($buildImages ) {
6963 Write-Host " Building Docker images tagged with '$imageTag '" - ForegroundColor Yellow
7064 $env: TAG = $imageTag
You can’t perform that action at this time.
0 commit comments