feat: allow override renovate image (#739)

Co-authored-by: Oreste Di Modugno <oreste.dimodugno@adevinta.com>
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
This commit is contained in:
Oreste Di Modugno 2023-05-25 10:09:15 +02:00 committed by GitHub
parent bba1483352
commit 53fd09be22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 53 additions and 1 deletions

View file

@ -64,6 +64,10 @@ class Input {
return core.getInput('useSlim') !== 'false';
}
getDockerImage(): string | null {
return core.getInput('renovate-image') || null;
}
getVersion(): string | null {
const version = core.getInput('renovate-version');
return !!version && version !== '' ? version : null;