mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-18 10:06:26 +00:00
Complete the removal of Sentry
This commit is contained in:
@ -24,7 +24,6 @@ docker buildx build \
|
||||
--build-arg SKIP_TESTS=1 \
|
||||
--build-arg GOPRIVATE="${GOPRIVATE:-}" \
|
||||
--build-arg GOPROXY="${GOPROXY:-}" \
|
||||
--build-arg SENTRY_DSN="${SENTRY_DSN:-}" \
|
||||
--platform linux/amd64,linux/arm64,linux/arm/7 \
|
||||
--progress plain \
|
||||
--pull \
|
||||
|
@ -60,7 +60,7 @@ build_backend() {
|
||||
go build \
|
||||
-tags 'json1' \
|
||||
-buildvcs=false \
|
||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \
|
||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION}" \
|
||||
-o "/app/bin/$FILENAME" \
|
||||
./cmd/server
|
||||
}
|
||||
|
@ -58,7 +58,6 @@ else
|
||||
-e GOPRIVATE="${GOPRIVATE:-}" \
|
||||
-e GOPROXY="${GOPROXY:-}" \
|
||||
-e NOW="$NOW" \
|
||||
-e SENTRY_DSN="${SENTRY_DSN:-}" \
|
||||
-e TZ="${TZ:-Australia/Brisbane}" \
|
||||
-v "$(pwd):/app" \
|
||||
-w '/app/backend' \
|
||||
|
@ -26,14 +26,14 @@ echo -e "${BLUE}❯ ${CYAN}Building binaries for ${YELLOW}${GOARCH} (${TARGETPLA
|
||||
go build \
|
||||
-tags 'json1' \
|
||||
-buildvcs=false \
|
||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \
|
||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION}" \
|
||||
-o "${1:-/dist/server}" \
|
||||
./cmd/server
|
||||
|
||||
# ipranges
|
||||
go build \
|
||||
-buildvcs=false \
|
||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION} -X main.sentryDSN=${SENTRY_DSN:-}" \
|
||||
-ldflags "-w -s -X main.commit=${BUILD_COMMIT:-notset} -X main.version=${BUILD_VERSION}" \
|
||||
-o "${2:-/dist/ipranges}" \
|
||||
./cmd/ipranges
|
||||
|
||||
|
Reference in New Issue
Block a user