We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce3b7df commit e53d6bcCopy full SHA for e53d6bc
scripts/ci.bash
@@ -5,6 +5,7 @@ set -euo pipefail
5
function docker-build() {
6
local target="${TARGET:-}"
7
local image="codercom/nbin-${target}"
8
+ local token="${GITHUB_TOKEN:-}"
9
if [[ "${target}" == "linux" ]] ; then
10
image="codercom/nbin-centos"
11
fi
@@ -26,7 +27,7 @@ function docker-build() {
26
27
local command="${1}" ; shift
28
local args="'${vscodeVersion}' '${codeServerVersion}' '${target}'"
29
docker exec "${containerId}" \
- bash -c "cd /src && CI=true yarn ${command} ${args}"
30
+ bash -c "cd /src && CI=true GITHUB_TOKEN=${token} yarn ${command} ${args}"
31
}
32
33
docker cp ./. "${containerId}":/src
0 commit comments