Create unique names for builds

This commit is contained in:
Webber
2020-01-09 21:55:37 +01:00
committed by Webber Takken
parent a1cc9f2e70
commit 298c667fc0
3 changed files with 6 additions and 3 deletions

View File

@@ -19,11 +19,13 @@ export default class Docker {
static async run(image, parameters, silent = false) {
const { workspace, platform, projectPath, buildName, buildsPath, method } = parameters;
const { version } = image;
const command = `docker run \
--workdir /github/workspace \
--rm \
--env UNITY_LICENSE \
--env UNITY_VERSION=${version} \
--env PROJECT_PATH=${projectPath} \
--env BUILD_TARGET=${platform} \
--env BUILD_NAME=${buildName} \