Skip to content

Commit 1ff1ca6

Browse files
pauldotyuCopilot
andauthored
Update azd-hooks/postprovision.ps1
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 3c80d9c commit 1ff1ca6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

azd-hooks/postprovision.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (($env:DEPLOY_AZURE_CONTAINER_REGISTRY -like "true") -and ($env:BUILD_CONTAIN
99
az acr build --registry $env:AZURE_CONTAINER_REGISTRY_NAME --image aks-store-demo/${service}:latest ./src/${service}/
1010
}
1111
}
12-
elseif (($env:DEPLOY_AZURE_CONTAINER_REGISTRY -like "true") -and ($env:BUILD_CONTAINERS -like "false")) {
12+
elseif (($env:DEPLOY_AZURE_CONTAINER_REGISTRY -like "true") -and ((-not $env:BUILD_CONTAINERS) -or ($env:BUILD_CONTAINERS -like "false"))) {
1313
echo "Import container images"
1414
foreach ($service in $services) {
1515
echo "Importing aks-store-demo/${service}:latest"

0 commit comments

Comments
 (0)