Skip to content

Commit bbd27fa

Browse files
authored
test(v10/e2e): Pull Supabase images from GHCR (#25719)
Backport of: #25718 ## Differences to the original PR - `supabase-nextjs/package.json`: v10 keeps its `supabase init` and `supabase db reset` steps. `SUPABASE_INTERNAL_IMAGE_REGISTRY=ghcr.io` is also set on `supabase db reset`, so the reset uses the same GHCR images and does not pull from the default registry.
1 parent 640ac72 commit bbd27fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • dev-packages/e2e-tests/test-applications/supabase-nextjs

‎dev-packages/e2e-tests/test-applications/supabase-nextjs/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"build": "next build",
88
"start": "next start",
99
"clean": "npx rimraf node_modules pnpm-lock.yaml .next",
10-
"start-local-supabase": "supabase stop --no-backup 2>/dev/null || true && supabase init --force --workdir . && supabase start -o env && supabase db reset",
10+
"start-local-supabase": "supabase stop --no-backup 2>/dev/null || true && supabase init --force --workdir . && SUPABASE_INTERNAL_IMAGE_REGISTRY=ghcr.io supabase start -x postgres-meta -o env && SUPABASE_INTERNAL_IMAGE_REGISTRY=ghcr.io supabase db reset",
1111
"test:prod": "TEST_ENV=production playwright test",
1212
"test:build": "pnpm install && pnpm start-local-supabase && pnpm build",
1313
"test:assert": "pnpm test:prod"

0 commit comments

Comments
 (0)