diff --git a/pkg/config/config.go b/pkg/config/config.go index f909d4e88..8d76db168 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -630,6 +630,9 @@ func (c *config) Load(path string, fsys fs.FS) error { if version, err := fs.ReadFile(fsys, builder.PgmetaVersionPath); err == nil && len(version) > 0 { c.Studio.PgmetaImage = replaceImageTag(Images.Pgmeta, string(version)) } + if version, err := fs.ReadFile(fsys, builder.LogflareVersionPath); err == nil && len(version) > 0 { + c.Analytics.Image = replaceImageTag(Images.Logflare, string(version)) + } // TODO: replace derived config resolution with viper decode hooks if err := c.resolve(builder, fsys); err != nil { return err diff --git a/pkg/config/templates/Dockerfile b/pkg/config/templates/Dockerfile index 526aa9158..ff75d8e7e 100644 --- a/pkg/config/templates/Dockerfile +++ b/pkg/config/templates/Dockerfile @@ -11,9 +11,9 @@ FROM supabase/edge-runtime:v1.69.14 AS edgeruntime FROM timberio/vector:0.28.1-alpine AS vector FROM supabase/supavisor:2.7.3 AS supavisor FROM supabase/gotrue:v2.180.0 AS gotrue -FROM supabase/realtime:v2.54.4 AS realtime +FROM supabase/realtime:v2.56.0 AS realtime FROM supabase/storage-api:v1.28.1 AS storage -FROM supabase/logflare:1.23.0 AS logflare +FROM supabase/logflare:1.22.6 AS logflare # Append to JobImages when adding new dependencies below FROM supabase/pgadmin-schema-diff:cli-0.0.5 AS differ FROM supabase/migra:3.0.1663481299 AS migra diff --git a/pkg/config/utils.go b/pkg/config/utils.go index 829ec67a1..0ab42264a 100644 --- a/pkg/config/utils.go +++ b/pkg/config/utils.go @@ -27,6 +27,7 @@ type pathBuilder struct { PoolerVersionPath string RealtimeVersionPath string EdgeRuntimeVersionPath string + LogflareVersionPath string CliVersionPath string CurrBranchPath string SchemasDir string