mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-17 17:32:35 +00:00
chore: standardise docker run arguments (full argument)
This commit is contained in:
parent
67802d02ed
commit
2eddca5679
1 changed files with 3 additions and 3 deletions
|
|
@ -26,9 +26,9 @@ class Renovate {
|
||||||
`--env ${this.configFileEnv}=${this.configFileMountPath()}`,
|
`--env ${this.configFileEnv}=${this.configFileMountPath()}`,
|
||||||
`--env ${this.tokenEnv}=${this.token}`,
|
`--env ${this.tokenEnv}=${this.token}`,
|
||||||
`--volume ${this.configFile}:${this.configFileMountPath()}`,
|
`--volume ${this.configFile}:${this.configFileMountPath()}`,
|
||||||
`-v /var/run/docker.sock:/var/run/docker.sock`,
|
`--volume /var/run/docker.sock:/var/run/docker.sock`,
|
||||||
`-v /tmp:/tmp`,
|
`--volume /tmp:/tmp`,
|
||||||
`-u 1000:${group}`,
|
`--user 1000:${group}`,
|
||||||
this.docker.image(),
|
this.docker.image(),
|
||||||
];
|
];
|
||||||
const command = `docker run ${commandArguments.join(' ')}`;
|
const command = `docker run ${commandArguments.join(' ')}`;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue