pull/437/head
Frostebite 2022-10-13 22:12:12 +01:00
parent efe030524d
commit e77aee6a4b
3 changed files with 5 additions and 3 deletions

2
dist/index.js vendored
View File

@ -5728,7 +5728,7 @@ class Docker {
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
${image} \
${entrypointBash ? `--entrypoint` : ``} ${image === `alpine` ? `/bin/sh -c ` : `/bin/bash -c `} \
${entrypointBash ? `--entrypoint` : ``} ${image === `alpine` || image === `amazon/aws-cli:latest` ? `/bin/sh -c ` : `/bin/bash -c `} \
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
}
static getWindowsCommand(image, parameters) {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -61,7 +61,9 @@ class Docker {
${sshAgent ? `--volume ${sshAgent}:/ssh-agent` : ''} \
${sshAgent ? '--volume /home/runner/.ssh/known_hosts:/root/.ssh/known_hosts:ro' : ''} \
${image} \
${entrypointBash ? `--entrypoint` : ``} ${image === `alpine` ? `/bin/sh -c ` : `/bin/bash -c `} \
${entrypointBash ? `--entrypoint` : ``} ${
image === `alpine` || image === `amazon/aws-cli:latest` ? `/bin/sh -c ` : `/bin/bash -c `
} \
${overrideCommands !== '' ? overrideCommands : `/entrypoint.sh`}`;
}