Skip to content

Commit b9fc404

Browse files
committed
Forward minify environment variable to Docker build
1 parent e53d6bc commit b9fc404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/ci.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ function docker-build() {
66
local target="${TARGET:-}"
77
local image="codercom/nbin-${target}"
88
local token="${GITHUB_TOKEN:-}"
9+
local minify="${MINIFY:-}"
910
if [[ "${target}" == "linux" ]] ; then
1011
image="codercom/nbin-centos"
1112
fi
@@ -27,7 +28,7 @@ function docker-build() {
2728
local command="${1}" ; shift
2829
local args="'${vscodeVersion}' '${codeServerVersion}' '${target}'"
2930
docker exec "${containerId}" \
30-
bash -c "cd /src && CI=true GITHUB_TOKEN=${token} yarn ${command} ${args}"
31+
bash -c "cd /src && CI=true GITHUB_TOKEN=${token} MINIFY=${minify} yarn ${command} ${args}"
3132
}
3233

3334
docker cp ./. "${containerId}":/src

0 commit comments

Comments
 (0)