mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 08:52:35 +00:00
chore(release): 40.2.0 [skip ci]
This commit is contained in:
parent
be578d1173
commit
259200be4d
2 changed files with 8 additions and 1 deletions
7
dist/index.js
vendored
7
dist/index.js
vendored
|
|
@ -26318,6 +26318,9 @@ class Input {
|
||||||
.map((v) => v.trim())
|
.map((v) => v.trim())
|
||||||
.filter((v) => !!v);
|
.filter((v) => !!v);
|
||||||
}
|
}
|
||||||
|
getDockerNetwork() {
|
||||||
|
return core.getInput('docker-network');
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Convert to environment variables.
|
* Convert to environment variables.
|
||||||
*
|
*
|
||||||
|
|
@ -26405,6 +26408,10 @@ class Renovate {
|
||||||
for (const volumeMount of this.input.getDockerVolumeMounts()) {
|
for (const volumeMount of this.input.getDockerVolumeMounts()) {
|
||||||
dockerArguments.push(`--volume ${volumeMount}`);
|
dockerArguments.push(`--volume ${volumeMount}`);
|
||||||
}
|
}
|
||||||
|
const dockerNetwork = this.input.getDockerNetwork();
|
||||||
|
if (dockerNetwork) {
|
||||||
|
dockerArguments.push(`--network ${dockerNetwork}`);
|
||||||
|
}
|
||||||
dockerArguments.push('--rm', this.docker.image());
|
dockerArguments.push('--rm', this.docker.image());
|
||||||
if (dockerCmd !== null) {
|
if (dockerCmd !== null) {
|
||||||
dockerArguments.push(dockerCmd);
|
dockerArguments.push(dockerCmd);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "github-action",
|
"name": "github-action",
|
||||||
"version": "40.1.12",
|
"version": "40.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "GitHub Action to run Renovate self-hosted.",
|
"description": "GitHub Action to run Renovate self-hosted.",
|
||||||
"homepage": "https://github.com/renovatebot/github-action#readme",
|
"homepage": "https://github.com/renovatebot/github-action#readme",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue