fix deploy
This commit is contained in:
parent
80c7064666
commit
ed9597c2dd
|
|
@ -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" }
|
||||
|
|
|
|||
Loading…
Reference in New Issue