mirror of
https://github.com/renovatebot/github-action.git
synced 2025-12-16 17:02:36 +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())
|
||||
.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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue