diff --git a/action.yml b/action.yml index 4a441574..99c93adc 100644 --- a/action.yml +++ b/action.yml @@ -119,9 +119,10 @@ inputs: To manually specify a value, use the format , where unit is either m or g. ie: 512m = 512 megabytes' dockerIsolationMode: required: false - default: 'process' + default: 'default' description: - 'Isolation mode to use for the docker container. Can be either process or hyperv. Only applicable on Windows' + 'Isolation mode to use for the docker container. Can be one of process, hyperv, or default. Only applicable on + Windows' allowDirtyBuild: required: false default: '' diff --git a/dist/index.js b/dist/index.js index 9733b1f0..b6f1c1bd 100644 Binary files a/dist/index.js and b/dist/index.js differ diff --git a/dist/index.js.map b/dist/index.js.map index 63f67b4e..6379d2f2 100644 Binary files a/dist/index.js.map and b/dist/index.js.map differ diff --git a/src/model/build-parameters.ts b/src/model/build-parameters.ts index 3ecb4dbc..8c322124 100644 --- a/src/model/build-parameters.ts +++ b/src/model/build-parameters.ts @@ -40,6 +40,9 @@ class BuildParameters { public androidSdkManagerParameters!: string; public androidExportType!: string; public androidSymbolType!: string; + public dockerCpuLimit!: string; + public dockerMemoryLimit!: string; + public dockerIsolationMode!: string; public customParameters!: string; public sshAgent!: string; @@ -160,6 +163,7 @@ class BuildParameters { chownFilesTo: Input.chownFilesTo, dockerCpuLimit: Input.dockerCpuLimit, dockerMemoryLimit: Input.dockerMemoryLimit, + dockerIsolationMode: Input.dockerIsolationMode, providerStrategy: CloudRunnerOptions.providerStrategy, buildPlatform: CloudRunnerOptions.buildPlatform, kubeConfig: CloudRunnerOptions.kubeConfig, diff --git a/src/model/input.ts b/src/model/input.ts index 8e228c25..94a0f2b4 100644 --- a/src/model/input.ts +++ b/src/model/input.ts @@ -253,7 +253,7 @@ class Input { } static get dockerIsolationMode(): string { - return Input.getInput('dockerIsolationMode') || 'process'; + return Input.getInput('dockerIsolationMode') || 'default'; } public static ToEnvVarFormat(input: string) {