fix(perception): isolate Worker Docker credentials

This commit is contained in:
DCCONSTRUCTIONS
2026-08-26 18:29:33 +03:00
parent aed59030b4
commit 1cc87e1836
@@ -47,6 +47,10 @@ $runOutput = Join-Path $output $RunId
if (Test-Path -LiteralPath $runOutput) { throw "M49 T1 output already exists" }
$null = New-Item -ItemType Directory -Path $runOutput
$runOutput = Resolve-DDirectory $runOutput "M49 T1 run output" $false
$dockerConfig = Join-Path $runOutput "docker-config"
$null = New-Item -ItemType Directory -Path $dockerConfig
'{"auths":{}}' | Set-Content -LiteralPath (Join-Path $dockerConfig "config.json") -Encoding ascii
$env:DOCKER_CONFIG = $dockerConfig
$os = Get-CimInstance Win32_OperatingSystem
$freeMemoryGiB = [double]$os.FreePhysicalMemory / 1MB