🔨 Add user to docker run command
This commit is contained in:
parent
c92df87146
commit
16df212769
@ -11,4 +11,4 @@ renovate_github_token: ""
|
||||
renovate_log_level: info
|
||||
renovate_bot_username: renovate-bot
|
||||
renovate_webhook_secret: ""
|
||||
renovate_docker_user_group: "0:0"
|
||||
renovate_docker_user_group: "1000:1000"
|
@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker run --pull always --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@"
|
||||
docker run --pull always --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" -v "/var/run/docker.sock:/var/run/docker.sock" -u "{{ renovate_docker_user_group }}" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" --env LOG_LEVEL={{ renovate_log_level }} {{ renovate_image_name }}:{{ renovate_image_tag }} renovate "$@"
|
Loading…
Reference in New Issue
Block a user