Show the release version in the sidebar footer
Baked at image build time: web/Dockerfile takes ARG SUPERBRAIN_VERSION (default dev) into NEXT_PUBLIC_SUPERBRAIN_VERSION; the release workflow passes the tag, README Option B gains the matching --build-arg, and local compose builds show 'dev build'. Rendered muted under the sidebar footer when expanded, so any deployment can be identified from the UI alone.
This commit is contained in:
@@ -490,6 +490,7 @@ V=1.2.3
|
||||
docker buildx build --platform linux/amd64,linux/arm64 --push \
|
||||
-t federatedcomputer/superbrain-app:$V -t federatedcomputer/superbrain-app:latest .
|
||||
docker buildx build --platform linux/amd64,linux/arm64 --push \
|
||||
--build-arg SUPERBRAIN_VERSION=$V \
|
||||
-t federatedcomputer/superbrain-web:$V -t federatedcomputer/superbrain-web:latest web
|
||||
docker buildx build --platform linux/amd64,linux/arm64 --push \
|
||||
--build-context deploy=deploy/federated \
|
||||
|
||||
Reference in New Issue
Block a user