mirror of
https://github.com/OpenHands/OpenHands.git
synced 2026-10-07 16:58:14 +08:00
* fix: set VITE_APP_ENV=production in Docker build for PostHog prod creds The Docker frontend build stage was not setting VITE_APP_ENV, so all Docker images (including tagged releases) used the PostHog staging key. This adds ENV VITE_APP_ENV=production to the frontend-build stage, matching the build:lib npm path behavior. Co-authored-by: openhands <openhands@all-hands.dev> * fix: use PostHog prod creds only for tagged Docker releases Make VITE_APP_ENV a Dockerfile build arg (default empty = staging key). The CI workflow passes VITE_APP_ENV=production only when building from a tagged release (refs/tags/v*), so PR and main-branch images keep the staging key while release images get the production key. Co-authored-by: openhands <openhands@all-hands.dev> --------- Co-authored-by: openhands <openhands@all-hands.dev>