Release: weekly deploy
This commit is contained in:
1 parent
cdca271e08
commit
3810e61bb8
1 file changed
+5
-1
@@ -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