Remove CI/CD, unify Docker image for Docker Hub and HA add-on

- Remove GitHub Actions workflows (ci.yml, docker.yml, release.yml)
- Remove GoReleaser configuration
- Remove RELEASE.md (replaced by /release_strix skill)
- Add HA options.json support in config.go (reads /data/options.json)
- Add Version field to Config, pass real version to health endpoint
- Change Version from const to var, inject via ldflags at build time
- Add ARG VERSION to Dockerfile for build-time version injection
- Reset webui/package.json version to 0.0.0 (not used functionally)
- Clear probe fields on back navigation in frontend
- Add /release_strix and /release_strix_dev skills
This commit is contained in:
eduard256
2026-03-17 07:23:04 +00:00
parent fe93aa329c
commit e40dccbb90
13 changed files with 295 additions and 566 deletions
+6 -6
View File
@@ -18,12 +18,12 @@ import (
"github.com/go-chi/chi/v5"
)
const (
// Version is the application version
Version = "1.0.9"
// Version is set at build time via ldflags:
//
// go build -ldflags="-X main.Version=1.0.10" ./cmd/strix
var Version = "dev"
// Banner is the application banner
Banner = `
const Banner = `
███████╗████████╗██████╗ ██╗██╗ ██╗
██╔════╝╚══██╔══╝██╔══██╗██║╚██╗██╔╝
███████╗ ██║ ██████╔╝██║ ╚███╔╝
@@ -34,7 +34,6 @@ const (
Smart IP Camera Stream Discovery System
Version: %s
`
)
func main() {
// Print banner
@@ -43,6 +42,7 @@ func main() {
// Load configuration
cfg := config.Load()
cfg.Version = Version
// Setup logger
slogger := cfg.SetupLogger()