Fix docker socket

This commit is contained in:
SebClem 2021-12-06 11:57:59 +01:00
parent 36f8da8716
commit db603badc8
No known key found for this signature in database
GPG Key ID: 3D8E353F900B1305
2 changed files with 3 additions and 2 deletions

View File

@ -7,4 +7,5 @@ renovate_image_tag: slim
renovate_git_endpoint: ""
renovate_git_token: ""
renovate_platform: gitea
renovate_github_token: ""
renovate_github_token: ""
renovate_log_level: info

View File

@ -1,3 +1,3 @@
#!/bin/bash
docker run --rm -v "/etc/renovate/config.js:/usr/src/app/config.js" --env GITHUB_COM_TOKEN="{{ renovate_github_token }}" {{ renovate_image_name }}:{{ renovate_image_tag }}
docker run --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 }}