From b9fc40409a3223e306e7657c467cadd68e8496ae Mon Sep 17 00:00:00 2001 From: Asher Date: Mon, 19 Aug 2019 17:17:38 -0500 Subject: [PATCH] Forward minify environment variable to Docker build --- scripts/ci.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ci.bash b/scripts/ci.bash index aeba9dd7..b66c188d 100755 --- a/scripts/ci.bash +++ b/scripts/ci.bash @@ -6,6 +6,7 @@ function docker-build() { local target="${TARGET:-}" local image="codercom/nbin-${target}" local token="${GITHUB_TOKEN:-}" + local minify="${MINIFY:-}" if [[ "${target}" == "linux" ]] ; then image="codercom/nbin-centos" fi @@ -27,7 +28,7 @@ function docker-build() { local command="${1}" ; shift local args="'${vscodeVersion}' '${codeServerVersion}' '${target}'" docker exec "${containerId}" \ - bash -c "cd /src && CI=true GITHUB_TOKEN=${token} yarn ${command} ${args}" + bash -c "cd /src && CI=true GITHUB_TOKEN=${token} MINIFY=${minify} yarn ${command} ${args}" } docker cp ./. "${containerId}":/src