Skip to content

Commit 7c350fc

Browse files
Send the push token to the build
Allows the build to push build cache artifacts back
1 parent 46cca62 commit 7c350fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function build() {
4040

4141
info "Building ${full_tag}..."
4242

43-
if ! docker build --cpuset-cpus="0,1" -t node:"${full_tag}" "${path}"; then
43+
if ! docker build --cpuset-cpus="0,1" --build-arg GITHUB_API_TOKEN="${GITHUB_API_TOKEN:-}" -t node:"${full_tag}" "${path}"; then
4444
fatal "Build of ${full_tag} failed!"
4545
fi
4646
info "Build of ${full_tag} succeeded."

0 commit comments

Comments
 (0)