Releases And CI
What this page covers
Section titled “What this page covers”How Postgram releases happen in this repository and where versions are published.
Core workflow
Section titled “Core workflow”- CLI publishes from merge to
mainvia semantic-release:
- scope convention drives version bumps (
feat(cli): ...etc.).
- CLI package is published to npm with provenance flags.
- Docker images are published to GitHub Container Registry on merge and semantic tag events.
CLI publishing
Section titled “CLI publishing”- Configured in
.github/workflows/release-cli.yml - Requires
NPM_TOKENrepository secret.
Server image publishing
Section titled “Server image publishing”- Configured in
.github/workflows/docker.yml - Publishes multi-arch images to
ghcr.io/ivo-toby/postgram.
- Non-CLI-scoped commits do not bump the CLI version.
- Docker image tags include
latest,main,sha-<short>, and semver tags on release.