Skip to content

Commit 5b4fe24

Browse files
committed
Backend builds should use cgo
1 parent 7166654 commit 5b4fe24

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/ci/build-backend

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ if [ "$BUILD_VERSION" = "" ]; then
1919
BUILD_VERSION=$(cat .version)
2020
fi
2121

22+
export CGO_ENABLED=1
23+
export GO111MODULE=on
24+
2225
echo -e "${BLUE}${GREEN}build-backend:${RESET}"
2326
echo " BUILD_COMMIT: $BUILD_COMMIT"
2427
echo " BUILD_DATE: $BUILD_DATE"
@@ -74,5 +77,3 @@ cleanup
7477

7578
echo -e "${BLUE}${GREEN}build-backend completed${RESET}"
7679
exit 0
77-
78-
trap cleanup EXIT

0 commit comments

Comments
 (0)