fix deploy

This commit is contained in:
beo3000 2026-02-20 22:38:59 +01:00
parent 80c7064666
commit ed9597c2dd
1 changed files with 4 additions and 0 deletions

View File

@ -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" }