diff --git a/ka-note/deploy.ps1 b/ka-note/deploy.ps1 index 8834dbf..2d462e1 100644 --- a/ka-note/deploy.ps1 +++ b/ka-note/deploy.ps1 @@ -11,6 +11,10 @@ npx drizzle-kit generate Pop-Location if ($LASTEXITCODE -ne 0) { throw "Migration generation failed" } +Write-Host "=== Login to ACR ===" -ForegroundColor Cyan +az acr login --name $ACR +if ($LASTEXITCODE -ne 0) { throw "ACR login failed" } + Write-Host "=== Build Docker image ===" -ForegroundColor Cyan docker build -t $IMAGE . if ($LASTEXITCODE -ne 0) { throw "Docker build failed" }