From 7b9ebd60f25582bc8ba055206ebb2fb8be7211a2 Mon Sep 17 00:00:00 2001 From: Carsten Hoffmann Date: Mon, 18 Nov 2024 14:55:37 +0100 Subject: [PATCH] Update to pg_partman 5.1.0 and add Postgres 17 support --- .github/workflows/build-and-publish.yml | 6 +++--- Dockerfile | 6 +++--- README.md | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-and-publish.yml b/.github/workflows/build-and-publish.yml index 16c5dd8..664ff47 100644 --- a/.github/workflows/build-and-publish.yml +++ b/.github/workflows/build-and-publish.yml @@ -16,15 +16,15 @@ jobs: build: strategy: matrix: - postgres_version: [13, 14, 15, 16] + postgres_version: [13, 14, 15, 16, 17] major: [4,5] include: - partman_version: v4.7.4 partman_checksum: 28e4fdb83ecc16525959ae9593bfbfd077db429285f5f7d8e2468bfff6cbdbf2c81ace79a9ddeb4f00f51eb709163dbd713fe6b221a432ac2ff766f98d4cf8e4 default: "true" major: 4 - - partman_version: v5.0.0 - partman_checksum: 7a1b41732eb063a94cee7a589a252055e3a33ccf0ddfe5cddba22978ffd306cf263312b172355c930d355aea0f5f5530fd2344520791df9cb05a38614c521f9f + - partman_version: v5.1.0 + partman_checksum: 42f527f93c7c4da957a84d4b81dafc4b37beed8fe66d2b4d908386c8ed2256f7356a8af7bdc8b0f4281c65a6ceded8d114a0c7db715dd2cc093a6b15c5ae23f4 default: "false" major: 5 exclude: diff --git a/Dockerfile b/Dockerfile index dfa9fc0..5ad7a9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -ARG POSTGRESQL_VERSION="13" +ARG POSTGRESQL_VERSION="16" FROM bitnami/postgresql:$POSTGRESQL_VERSION LABEL org.opencontainers.image.source="https://github.com/dbsystel/postgresql-partman-container" -ARG PARTMAN_VERSION="v4.7.4" +ARG PARTMAN_VERSION="v5.1.0" LABEL de.dbsystel.partman-version=$PARTMAN_VERSION ARG POSTGRESQL_VERSION LABEL de.dbsystel.postgres-version=$POSTGRESQL_VERSION -ARG PARTMAN_CHECKSUM="28e4fdb83ecc16525959ae9593bfbfd077db429285f5f7d8e2468bfff6cbdbf2c81ace79a9ddeb4f00f51eb709163dbd713fe6b221a432ac2ff766f98d4cf8e4" +ARG PARTMAN_CHECKSUM="42f527f93c7c4da957a84d4b81dafc4b37beed8fe66d2b4d908386c8ed2256f7356a8af7bdc8b0f4281c65a6ceded8d114a0c7db715dd2cc093a6b15c5ae23f4" USER root RUN install_packages wget gcc make build-essential RUN cd /tmp \ diff --git a/README.md b/README.md index b9051e8..db8bca0 100644 --- a/README.md +++ b/README.md @@ -8,9 +8,9 @@ It pushes a nightly latest image of all tag versions to [ghcr.io](https://github ```shell docker run ghcr.io/dbsystel/postgresql-partman -docker run ghcr.io/dbsystel/postgresql-partman:{13,14,15,16} -docker run ghcr.io/dbsystel/postgresql-partman:{13-4,14-4,15-4,16-4} -docker run ghcr.io/dbsystel/postgresql-partman:{14-5,15-5,16-5} +docker run ghcr.io/dbsystel/postgresql-partman:{13,14,15,16,17} +docker run ghcr.io/dbsystel/postgresql-partman:{13-4,14-4,15-4,16-4,17-4} +docker run ghcr.io/dbsystel/postgresql-partman:{14-5,15-5,16-5,17-5} ``` The first part of the tag represents the PostgreSQL major version, the second part represents the partman major version. If you leave out the second part, you will get the default version of partman as specified by this repository. Be aware, that this can change without notice.