Backend builds should use cgo

This commit is contained in:
Jamie Curnow 2023-02-26 00:14:35 +10:00
parent 7166654215
commit 5b4fe24957
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

View File

@ -19,6 +19,9 @@ if [ "$BUILD_VERSION" = "" ]; then
BUILD_VERSION=$(cat .version)
fi
export CGO_ENABLED=1
export GO111MODULE=on
echo -e "${BLUE} ${GREEN}build-backend:${RESET}"
echo " BUILD_COMMIT: $BUILD_COMMIT"
echo " BUILD_DATE: $BUILD_DATE"
@ -74,5 +77,3 @@ cleanup
echo -e "${BLUE} ${GREEN}build-backend completed${RESET}"
exit 0
trap cleanup EXIT