diff --git a/.gitea/workflows/build_device_agent.yaml b/.gitea/workflows/build_device_agent.yaml index db95c10..0aa3fac 100644 --- a/.gitea/workflows/build_device_agent.yaml +++ b/.gitea/workflows/build_device_agent.yaml @@ -59,7 +59,7 @@ jobs: if [ "$GOOS" = "windows" ]; then EXT=".exe"; fi OUT="bin/nexus-device-agent-${GOOS}-${GOARCH}${EXT}" echo "Building $OUT ..." - CGO_ENABLED=0 GOOS="$GOOS" GOARCH="$GOARCH" go build -o "$OUT" . + CGO_ENABLED=0 GOOS="$GOOS" GOARCH="$GOARCH" go build -ldflags="-s -w" -o "$OUT" . done echo "=== Build output ===" ls -la bin/ diff --git a/apps/device-agent b/apps/device-agent index 8d4b6f9..f6a03d2 160000 --- a/apps/device-agent +++ b/apps/device-agent @@ -1 +1 @@ -Subproject commit 8d4b6f9d425f35f6876b11486cd470b971f486e5 +Subproject commit f6a03d280d61382456392b4c461bcf2b53481aba