From 259200be4d976a76196ec8985b0dddcaf1733b47 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Tue, 2 Jul 2024 11:21:40 +0000 Subject: [PATCH] chore(release): 40.2.0 [skip ci] --- dist/index.js | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 867a0a21c9..eb49a68093 100644 --- a/dist/index.js +++ b/dist/index.js @@ -26318,6 +26318,9 @@ class Input { .map((v) => v.trim()) .filter((v) => !!v); } + getDockerNetwork() { + return core.getInput('docker-network'); + } /** * Convert to environment variables. * @@ -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); diff --git a/package.json b/package.json index 6745896ac4..ecba2d723f 100644 --- a/package.json +++ b/package.json @@ -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",