You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14Lines changed: 14 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -111,3 +111,17 @@ You can then run the image using the instructions above, replacing `<version>` w
111
111
- The published Docker image tag will match the tag name, but without the leading `v`.
112
112
- The major and minor part of the version number match the PostgreSQL version number, while the patch represents an iteration of the image.
113
113
- Note: This versioning scheme is not strictly SemVer, but it should be safe to treat it as SemVer for most use cases.
114
+
115
+
## Updating the image
116
+
117
+
1. Update the version numbers in `.env`.
118
+
- `BASE_IMAGE`: The base PostgreSQL version. Use the latest stable Alpine-based version found in [Docker Hub](https://hub.docker.com/_/postgres).
119
+
- `POSTGIS_VERSION` and `POSTGIS_SHA256`: The PostGIS extension version and its SHA256 checksum. Use the same values that the latest official PostGIS Alpine-based image uses. The values can be found in the `docker-postgis` repository on GitHub (e.g., [psql 18.0 & postgis 3.6](https://github.com/postgis/docker-postgis/blob/master/18-3.6/alpine/Dockerfile).)
120
+
- TIMESCALEDB_VERSION: The TimescaleDB extension version. Use the latest stable version found in the [TimescaleDB GitHub repository releases](https://github.com/timescale/timescaledb).
121
+
2. Commit the changes and tag a new release with the appropriate version number (e.g., `v18.0.0`). Push to origin.
122
+
```console
123
+
git commit -am "Update versions"
124
+
git tag vX.Y.Z
125
+
git push origin main --tags
126
+
```
127
+
3. GitHub Actions will automatically build a Docker image from the tagged revision and push it to Docker Hub as `creowave/postgres:X.Y.Z`.
0 commit comments