mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 08:52:35 +00:00
feat!: drop useSlim and use `latest' tag (#782)
BREAKING CHANGE: The action now uses the slim renovate version by default.
This commit is contained in:
parent
15c94446ef
commit
89ff8f7bf9
5 changed files with 15 additions and 32 deletions
|
|
@ -10,11 +10,7 @@ class Docker {
|
|||
const tag = input.getVersion();
|
||||
|
||||
this.dockerImage = input.getDockerImage() ?? Docker.image;
|
||||
this.fullTag = input.useSlim()
|
||||
? tag
|
||||
? `${tag}-slim`
|
||||
: 'slim'
|
||||
: tag ?? 'full';
|
||||
this.fullTag = tag ?? 'latest';
|
||||
}
|
||||
|
||||
image(): string {
|
||||
|
|
|
|||
|
|
@ -60,10 +60,6 @@ class Input {
|
|||
return null;
|
||||
}
|
||||
|
||||
useSlim(): boolean {
|
||||
return core.getInput('useSlim') !== 'false';
|
||||
}
|
||||
|
||||
getDockerImage(): string | null {
|
||||
return core.getInput('renovate-image') || null;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue