mirror of
https://github.com/renovatebot/github-action.git
synced 2026-12-05 03:42:51 +00:00
fix: removed tty allocation in docker run (#1056)
This commit is contained in:
1 parent
026667ea92
commit
5be7d625e5
1 file changed
+2
-2
+2
-2
@@ -15,7 +15,7 @@ export class Renovate {
|
||||
}
|
||||
|
||||
async runDockerContainerForVersion(): Promise<string> {
|
||||
const command = `docker run -t --rm ${this.docker.image()} --version`;
|
||||
const command = `docker run --rm ${this.docker.image()} --version`;
|
||||
|
||||
const { exitCode, stdout } = await getExecOutput(command);
|
||||
if (exitCode !== 0) {
|
||||
@@ -87,7 +87,7 @@ export class Renovate {
|
||||
dockerArguments.push(dockerCmd);
|
||||
}
|
||||
|
||||
const command = `docker run -t ${dockerArguments.join(' ')}`;
|
||||
const command = `docker run ${dockerArguments.join(' ')}`;
|
||||
|
||||
const code = await exec(command);
|
||||
if (code !== 0) {
|
||||
|
||||
Reference in new issue
Block a user