Skip to content

chore(cli): read Postgres image from Dockerfile manifest - #5649

Merged
jgoux merged 2 commits into
developfrom
fix/cli-pg-image-manifest-source
Jun 22, 2026
Merged

chore(cli): read Postgres image from Dockerfile manifest#5649
jgoux merged 2 commits into
developfrom
fix/cli-pg-image-manifest-source

Conversation

@jgoux

@jgoux jgoux commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Summary

Make the TS legacy Postgres image resolver read the default image from the same Dockerfile manifest used by the Go config image table.

This removes the duplicated PG17 tag from the TS port, keeps db dump aligned with Dependabot updates to apps/cli-go/pkg/config/templates/Dockerfile, and preserves the existing service image parser export for callers.

Context

PR #5083 highlighted that PG image selection can drift when the default Postgres image is copied into multiple places. The active TS db dump path already selected a PG17 image, but its hardcoded tag had drifted from the Dockerfile manifest.

@jgoux
jgoux marked this pull request as ready for review June 22, 2026 12:01
@jgoux
jgoux requested a review from a team as a code owner June 22, 2026 12:01
@github-actions

Copy link
Copy Markdown
Contributor

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@3d643af8a0d5f9bd7848990321a113a8c4022b17

Preview package for commit 3d643af.

@jgoux
jgoux added this pull request to the merge queue Jun 22, 2026
Merged via the queue into develop with commit d775bb3 Jun 22, 2026
31 of 33 checks passed
@jgoux
jgoux deleted the fix/cli-pg-image-manifest-source branch June 22, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants