Add seed/migrate Docker stages and CI image push #37

Merged
ghost merged 1 commits from feat/seed-infra into main 2026-03-17 23:47:56 +00:00
ghost commented 2026-03-17 23:46:50 +00:00 (Migrated from github.com)

Summary

  • Adds seed stage to API Dockerfile (FROM builder AS seed) for running test data population
  • Adds explicit target: runner to API image CI build to prevent building the wrong stage
  • Adds CI steps to build and push ghcr.io/groombook/migrate and ghcr.io/groombook/seed images
  • Enables running the seed as a k8s Job using the seed image

Test plan

  • CI builds all 4 images (api, web, migrate, seed) on merge to main
  • ghcr.io/groombook/seed:latest runs pnpm db:seed when started with DATABASE_URL

Part of GRO-32: Test Data

🤖 Generated with Claude Code

## Summary - Adds `seed` stage to API Dockerfile (`FROM builder AS seed`) for running test data population - Adds explicit `target: runner` to API image CI build to prevent building the wrong stage - Adds CI steps to build and push `ghcr.io/groombook/migrate` and `ghcr.io/groombook/seed` images - Enables running the seed as a k8s Job using the seed image ## Test plan - [ ] CI builds all 4 images (api, web, migrate, seed) on merge to main - [ ] `ghcr.io/groombook/seed:latest` runs `pnpm db:seed` when started with `DATABASE_URL` Part of GRO-32: Test Data 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This repo is archived. You cannot comment on pull requests.