Release: weekly deploy

This commit is contained in:
Danila Khodjaef
2026-07-08 18:21:05 +03:00
parent cdca271e08
commit 3810e61bb8
+5 -1
View File
@@ -12,8 +12,12 @@ $Registry = "gitea.mysuperlab.netcraze.pro"
$Image = "$Registry/danilka/gallery-web" $Image = "$Registry/danilka/gallery-web"
function Test-DockerRunning { function Test-DockerRunning {
$prevEap = $ErrorActionPreference
$ErrorActionPreference = 'Continue'
docker info 2>&1 | Out-Null docker info 2>&1 | Out-Null
return $LASTEXITCODE -eq 0 $ok = $LASTEXITCODE -eq 0
$ErrorActionPreference = $prevEap
return $ok
} }
Write-Host "=== Build + LAN push to Gitea ===" -ForegroundColor Cyan Write-Host "=== Build + LAN push to Gitea ===" -ForegroundColor Cyan