From 2ea2a79bd3fe22185a74562dd1b63fc5727ebee1 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Fri, 20 Nov 2026 14:15:52 +1300 Subject: [PATCH] feat(postgres): build and publish images for postgresql 19 Dedicated databases are gaining PostgreSQL 19 (GA 2026-11-19), so every release must ship appwrite/postgres:19 alongside 17 and 18. PGDG already publishes postgresql-19-pgvector, -postgis-3 and -cron, and the Dockerfile sets no GUC that 19 removed, so only the build matrices and README change. The default major stays 18 so the bare semver and latest tags do not move. Co-Authored-By: Claude Opus 5.5 --- .github/workflows/build.yml | 2 +- .github/workflows/publish.yml | 2 +- README.md | 9 +++++---- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39be4a5..c95104a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - pg_major: ['17', '18'] + pg_major: ['17', '18', '19'] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b2d6560..75d229a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: strategy: fail-fast: false matrix: - pg_major: ['17', '18'] + pg_major: ['17', '18', '19'] steps: - name: Checkout repository uses: actions/checkout@v4 diff --git a/README.md b/README.md index 68b74f7..9a08320 100644 --- a/README.md +++ b/README.md @@ -31,19 +31,20 @@ shared_preload_libraries = 'pg_stat_statements,pg_cron' ## Supported major versions and tags -Built for each PostgreSQL major version Appwrite Cloud advertises (`Engine::getSupportedVersions()`): **17** and **18**. Publishing a release tag (e.g. `0.2.0`) produces, for each major: +Built for each PostgreSQL major version Appwrite Cloud advertises (`Engine::getSupportedVersions()`): **17**, **18** and **19**. Publishing a release tag (e.g. `0.3.0`) produces, for each major: | Tag | Meaning | | --- | ------- | -| `appwrite/postgres:18`, `appwrite/postgres:17` | Floating tag for the major version | -| `appwrite/postgres:18-0.2.0`, `appwrite/postgres:17-0.2.0` | Immutable major + release | -| `appwrite/postgres:0.2.0`, `appwrite/postgres:latest` | Default major (18), for backward compatibility | +| `appwrite/postgres:19`, `appwrite/postgres:18`, `appwrite/postgres:17` | Floating tag for the major version | +| `appwrite/postgres:19-0.3.0`, `appwrite/postgres:18-0.3.0`, `appwrite/postgres:17-0.3.0` | Immutable major + release | +| `appwrite/postgres:0.3.0`, `appwrite/postgres:latest` | Default major (18), for backward compatibility | The default-major bare-semver tags keep the existing `version` -> image mapping working until the per-version wiring lands. ## Build ```bash +docker build --build-arg PG_MAJOR=19 -t appwrite/postgres:19 . docker build --build-arg PG_MAJOR=18 -t appwrite/postgres:18 . docker build --build-arg PG_MAJOR=17 -t appwrite/postgres:17 . ```