Skip to content

chore(templates): publish with-postgres image to ghcr#16258

Open
yangchuansheng wants to merge 1 commit intopayloadcms:mainfrom
yangchuansheng:chore/templates-publish-with-postgres-ghcr
Open

chore(templates): publish with-postgres image to ghcr#16258
yangchuansheng wants to merge 1 commit intopayloadcms:mainfrom
yangchuansheng:chore/templates-publish-with-postgres-ghcr

Conversation

@yangchuansheng
Copy link
Copy Markdown

What

  • add a dedicated GitHub Actions workflow to publish the templates/with-postgres starter to GHCR
  • add a dedicated multi-stage Docker build plus migration-aware entrypoint for that published image
  • document the official image name and tag strategy in the template README

Why

Today users who want to deploy the official with-postgres starter as a container need to maintain their own image build automation around this repository.

Publishing an official image from the upstream repository makes the starter easier to deploy on container platforms, gives users a stable image source, and keeps the image lifecycle aligned with Payload releases.

Notes

  • release builds publish latest, <payload-version>, and <payload-version>-<short-sha>
  • main branch builds publish main and sha-<short-sha>
  • workflow_dispatch supports custom refs and dry runs with push=false
  • the image is intentionally named ghcr.io/payloadcms/payload-with-postgres so it is clearly scoped to the starter being published here

@yangchuansheng yangchuansheng requested a review from denolfe as a code owner April 13, 2026 07:01
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