Skip to content

ci: publish beyond-postgres image to ghcr#5

Merged
jaredLunde merged 1 commit into
mainfrom
feat/ghcr-image
Jun 21, 2026
Merged

ci: publish beyond-postgres image to ghcr#5
jaredLunde merged 1 commit into
mainfrom
feat/ghcr-image

Conversation

@jaredLunde

Copy link
Copy Markdown
Contributor

Adds a Docker target so local-dev/compose can pull a Postgres bundled with the Beyond extensions (the prod rootfs equivalent).

  • docker/Dockerfile: postgres:18 + beyond_auth pgrx extension (built from the auth repo, pgrx 0.18.0) + the queue schema.sql/hot_paths.sql. Extension sources cloned at AUTH_REF/QUEUE_REF (default main).
  • docker/initdb.sh: CREATE EXTENSION beyond_auth (it owns the auth schema) + loads the queue schema.
  • release-image.yml: image/v* trigger, native amd64+arm64, multi-arch manifest → ghcr.io/beyondoss/beyond-postgres.

Verified locally: extension loads, auth+queue schemas present, queue has 5 tables + 82 functions, no initdb errors.

🤖 Generated with Claude Code

Docker analogue of the prod rootfs: postgres:18 + the beyond_auth pgrx extension
(built from the auth repo, pgrx 0.18.0) + the queue schema/hot-paths in initdb, so
a generated app can pull a working DB. initdb lets the extension own the auth schema
and applies the queue schema (5 tables, 82 functions). Tag-triggered (image/v*),
native amd64+arm64 multi-arch manifest. Verified locally end-to-end.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@jaredLunde jaredLunde merged commit 977d963 into main Jun 21, 2026
1 check passed
@jaredLunde jaredLunde deleted the feat/ghcr-image branch June 21, 2026 03:36
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.

1 participant