diff --git a/windows/Dockerfile b/windows/Dockerfile index fb6d254..5e99fea 100644 --- a/windows/Dockerfile +++ b/windows/Dockerfile @@ -65,4 +65,4 @@ RUN powershell choco feature enable -n allowGlobalConfirmation RUN powershell choco install azure-cli --no-progress -y -CMD [ "pwsh", "-c", "./config.cmd --name $env:RUNNER_NAME --url $env:GITHUB_URL$env:RUNNER_ORG --token $env:RUNNER_TOKEN --labels $env:RUNNER_LABELS --unattended --replace --ephemeral; ./run.cmd"] +CMD [ "pwsh", "-c", "./config.cmd --name $env:RUNNER_NAME --url $env:GITHUB_URL$($env:RUNNER_ENTERPRISE ? 'enterprises/' + $env:RUNNER_ENTERPRISE : $env:RUNNER_ORG) --token $env:RUNNER_TOKEN --labels $env:RUNNER_LABELS --unattended --replace --ephemeral; ./run.cmd"]