Skip to content

Commit

Permalink
chore(release): 40.2.0 [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
semantic-release-bot committed Jul 2, 2024
1 parent be578d1 commit 259200b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26318,6 +26318,9 @@ class Input {
.map((v) => v.trim())
.filter((v) => !!v);
}
getDockerNetwork() {
return core.getInput('docker-network');
}
/**
* Convert to environment variables.
*
Expand Down Expand Up @@ -26405,6 +26408,10 @@ class Renovate {
for (const volumeMount of this.input.getDockerVolumeMounts()) {
dockerArguments.push(`--volume ${volumeMount}`);
}
const dockerNetwork = this.input.getDockerNetwork();
if (dockerNetwork) {
dockerArguments.push(`--network ${dockerNetwork}`);
}
dockerArguments.push('--rm', this.docker.image());
if (dockerCmd !== null) {
dockerArguments.push(dockerCmd);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "github-action",
"version": "40.1.12",
"version": "40.2.0",
"private": true,
"description": "GitHub Action to run Renovate self-hosted.",
"homepage": "https://github.com/renovatebot/github-action#readme",
Expand Down

0 comments on commit 259200b

Please sign in to comment.