pull/705/head
Daniel Lupiañez Casares 2025-04-29 13:56:22 +02:00
parent 7def651231
commit d4e973c6f0
3 changed files with 3 additions and 6 deletions

3
dist/index.js generated vendored
View File

@ -6107,7 +6107,7 @@ class Docker {
const githubHome = node_path_1.default.join(runnerTempPath, '_github_home'); const githubHome = node_path_1.default.join(runnerTempPath, '_github_home');
if (!(0, node_fs_1.existsSync)(githubHome)) if (!(0, node_fs_1.existsSync)(githubHome))
(0, node_fs_1.mkdirSync)(githubHome); (0, node_fs_1.mkdirSync)(githubHome);
const dockerCommand = `docker run \ return `docker run \
--workdir c:${dockerWorkspacePath} \ --workdir c:${dockerWorkspacePath} \
--rm \ --rm \
${image_environment_factory_1.default.getEnvVarString(parameters)} \ ${image_environment_factory_1.default.getEnvVarString(parameters)} \
@ -6129,7 +6129,6 @@ class Docker {
--isolation=${dockerIsolationMode} \ --isolation=${dockerIsolationMode} \
${image} \ ${image} \
powershell c:/steps/entrypoint.ps1`; powershell c:/steps/entrypoint.ps1`;
return dockerCommand;
} }
} }
exports["default"] = Docker; exports["default"] = Docker;

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -103,7 +103,7 @@ class Docker {
const githubHome = path.join(runnerTempPath, '_github_home'); const githubHome = path.join(runnerTempPath, '_github_home');
if (!existsSync(githubHome)) mkdirSync(githubHome); if (!existsSync(githubHome)) mkdirSync(githubHome);
const dockerCommand = `docker run \ return `docker run \
--workdir c:${dockerWorkspacePath} \ --workdir c:${dockerWorkspacePath} \
--rm \ --rm \
${ImageEnvironmentFactory.getEnvVarString(parameters)} \ ${ImageEnvironmentFactory.getEnvVarString(parameters)} \
@ -125,8 +125,6 @@ class Docker {
--isolation=${dockerIsolationMode} \ --isolation=${dockerIsolationMode} \
${image} \ ${image} \
powershell c:/steps/entrypoint.ps1`; powershell c:/steps/entrypoint.ps1`;
return dockerCommand;
} }
} }