mirror of
https://github.com/renovatebot/github-action.git
synced 2026-12-05 03:42:51 +00:00
chore(release): 37.1.0 [skip ci]
This commit is contained in:
1 parent
a39fd06d44
commit
a272cc3652
2 files changed
+6
-2
No files matched your search
Vendored
+5
-1
@@ -3943,6 +3943,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
||||
class Docker {
|
||||
constructor(input) {
|
||||
const tag = input.getVersion();
|
||||
this.dockerImage = input.getDockerImage() ?? Docker.repository;
|
||||
this.fullTag = input.useSlim()
|
||||
? tag
|
||||
? `${tag}-slim`
|
||||
@@ -3950,7 +3951,7 @@ class Docker {
|
||||
: tag ?? 'latest';
|
||||
}
|
||||
image() {
|
||||
return `${Docker.repository}:${this.fullTag}`;
|
||||
return `${this.dockerImage}:${this.fullTag}`;
|
||||
}
|
||||
}
|
||||
Docker.repository = 'renovate/renovate';
|
||||
@@ -4082,6 +4083,9 @@ class Input {
|
||||
useSlim() {
|
||||
return core.getInput('useSlim') !== 'false';
|
||||
}
|
||||
getDockerImage() {
|
||||
return core.getInput('renovate-image') || null;
|
||||
}
|
||||
getVersion() {
|
||||
const version = core.getInput('renovate-version');
|
||||
return !!version && version !== '' ? version : null;
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "github-action",
|
||||
"version": "37.0.0",
|
||||
"version": "37.1.0",
|
||||
"private": true,
|
||||
"description": "GitHub Action to run Renovate self-hosted.",
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
||||
Reference in new issue
Block a user