From 2a636067bfdf99ad41cf1cdaf4347dd6b726c4b7 Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Fri, 27 Sep 2024 10:04:57 +0200 Subject: [PATCH 1/2] Add support for PostgreSQL 17 --- .github/workflows/build-and-push-images.yml | 1 + README.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-push-images.yml b/.github/workflows/build-and-push-images.yml index 6b89df2..feae999 100644 --- a/.github/workflows/build-and-push-images.yml +++ b/.github/workflows/build-and-push-images.yml @@ -16,6 +16,7 @@ jobs: - { postgres: 14, alpine: '3.16' } - { postgres: 15, alpine: '3.17' } - { postgres: 16, alpine: '3.19' } + - { postgres: 17, alpine: '3.20' } steps: - name: Checkout repository diff --git a/README.md b/README.md index 67e2f99..0551f2a 100644 --- a/README.md +++ b/README.md @@ -6,13 +6,13 @@ This project provides Docker images to periodically back up a PostgreSQL databas ```yaml services: postgres: - image: postgres:16 + image: postgres:17 environment: POSTGRES_USER: user POSTGRES_PASSWORD: password backup: - image: eeshugerman/postgres-backup-s3:16 + image: eeshugerman/postgres-backup-s3:17 environment: SCHEDULE: '@weekly' # optional BACKUP_KEEP_DAYS: 7 # optional @@ -28,7 +28,7 @@ services: POSTGRES_PASSWORD: password ``` -- Images are tagged by the major PostgreSQL version supported: `12`, `13`, `14`, `15` or `16`. +- Images are tagged by the major PostgreSQL version supported: `12`, `13`, `14`, `15`, `16` or `17`. - The `SCHEDULE` variable determines backup frequency. See go-cron schedules documentation [here](http://godoc.org/github.com/robfig/cron#hdr-Predefined_schedules). Omit to run the backup immediately and then exit. - If `PASSPHRASE` is provided, the backup will be encrypted using GPG. - Run `docker exec sh backup.sh` to trigger a backup ad-hoc. From 046ca4172d5c6b05c487349b0bee93842471ca99 Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Fri, 6 Dec 2024 09:19:59 +0100 Subject: [PATCH 2/2] Use Alpine 3.21 for PostgreSQL 17 --- .github/workflows/build-and-push-images.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push-images.yml b/.github/workflows/build-and-push-images.yml index feae999..b577c7d 100644 --- a/.github/workflows/build-and-push-images.yml +++ b/.github/workflows/build-and-push-images.yml @@ -16,7 +16,7 @@ jobs: - { postgres: 14, alpine: '3.16' } - { postgres: 15, alpine: '3.17' } - { postgres: 16, alpine: '3.19' } - - { postgres: 17, alpine: '3.20' } + - { postgres: 17, alpine: '3.21' } steps: - name: Checkout repository