Release: weekly deploy
This commit is contained in:
@@ -12,8 +12,12 @@ $Registry = "gitea.mysuperlab.netcraze.pro"
|
||||
$Image = "$Registry/danilka/gallery-web"
|
||||
|
||||
function Test-DockerRunning {
|
||||
$prevEap = $ErrorActionPreference
|
||||
$ErrorActionPreference = 'Continue'
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user