mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-18 09:52:35 +00:00
feat: use slim image
This commit is contained in:
parent
8228a8e5b2
commit
7748c5006c
2 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
class Docker {
|
class Docker {
|
||||||
readonly repository = 'renovate/renovate';
|
readonly repository = 'renovate/renovate';
|
||||||
// renovate: datasource=docker depName=renovate/renovate versioning=docker
|
// renovate: datasource=docker depName=renovate/renovate versioning=docker
|
||||||
readonly tag = '19.231.8';
|
readonly tag = '19.231.8-slim';
|
||||||
|
|
||||||
image(): string {
|
image(): string {
|
||||||
return `${this.repository}:${this.tag}`;
|
return `${this.repository}:${this.tag}`;
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@ 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`,
|
||||||
|
`-v /tmp:/tmp`,
|
||||||
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