cleanup
parent
2b906d3570
commit
f86324e7c5
|
|
@ -5727,9 +5727,10 @@ class Docker {
|
||||||
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
|
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
|
||||||
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
||||||
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
||||||
|
${entrypointBash ? `--entrypoint ${commandPrefix} ` : ``} \
|
||||||
${image} \
|
${image} \
|
||||||
${entrypointBash ? `--entrypoint ${commandPrefix} ` : `${commandPrefix} -c `} \
|
${!entrypointBash ? `${commandPrefix} -c ` : ``} \
|
||||||
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
|
"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}"`;
|
||||||
}
|
}
|
||||||
static getWindowsCommand(image, parameters) {
|
static getWindowsCommand(image, parameters) {
|
||||||
const { workspace, actionFolder, unitySerial, gitPrivateToken } = parameters;
|
const { workspace, actionFolder, unitySerial, gitPrivateToken } = parameters;
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -60,9 +60,10 @@ class Docker {
|
||||||
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
|
--volume "${actionFolder}/platforms/ubuntu/entrypoint.sh:/entrypoint.sh:z" \
|
||||||
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
|
||||||
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
|
||||||
|
${entrypointBash ? `--entrypoint ${commandPrefix} ` : ``} \
|
||||||
${image} \
|
${image} \
|
||||||
${entrypointBash ? `--entrypoint ${commandPrefix} ` : `${commandPrefix} -c `} \
|
${!entrypointBash ? `${commandPrefix} -c ` : ``} \
|
||||||
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
|
"${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}"`;
|
||||||
}
|
}
|
||||||
|
|
||||||
static getWindowsCommand(image: any, parameters: any): string {
|
static getWindowsCommand(image: any, parameters: any): string {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue