Allow custom parameters

This commit is contained in:
Webber
2020-01-27 19:39:49 +01:00
committed by Webber Takken
parent b382ae9023
commit 7d51d12262
5 changed files with 15 additions and 3 deletions

View File

@@ -27,6 +27,7 @@ class Docker {
buildPath,
buildFile,
buildMethod,
customParameters,
} = parameters;
const command = `docker run \
@@ -43,6 +44,7 @@ class Docker {
--env BUILD_PATH=${buildPath} \
--env BUILD_FILE=${buildFile} \
--env BUILD_METHOD=${buildMethod} \
--env CUSTOM_PARAMETERS=${customParameters} \
--env HOME=/github/home \
--env GITHUB_REF \
--env GITHUB_SHA \