mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-27 12:43:37 +00:00
fix: use numeric docker user id
This commit is contained in:
parent
2320feb7c0
commit
b23e6d84fc
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ class Renovate {
|
|||
}
|
||||
|
||||
async runDockerContainer(): Promise<void> {
|
||||
const renovateDockerUser = 'ubuntu';
|
||||
const renovateDockerUser = '1000';
|
||||
|
||||
const dockerArguments = this.input
|
||||
.toEnvironmentVariables()
|
||||
|
|
@ -36,7 +36,7 @@ class Renovate {
|
|||
dockerArguments.push(
|
||||
'--volume /var/run/docker.sock:/var/run/docker.sock',
|
||||
'--volume /tmp:/tmp',
|
||||
// `--user ${renovateDockerUser}:${this.getDockerGroupId()}`,
|
||||
`--user ${renovateDockerUser}:${this.getDockerGroupId()}`,
|
||||
'--rm',
|
||||
this.docker.image()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue