From fa3b39630b4c6dc09de094b5d80f5b055f97afe6 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 1 Oct 2024 09:08:04 +0200 Subject: [PATCH 1/2] feat: add PostgreSQL 17 with PostGIS 3 --- .github/workflows/ci.yaml | 2 +- Makefile | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1da9cb8..1f19535 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,7 +13,7 @@ jobs: timeout-minutes: 120 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: camptocamp/initialise-gopass-summon-action@v2 with: diff --git a/Makefile b/Makefile index 825671b..b05d97f 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ define build-image docker system prune --all -f endef -all: 10 11 12 13 14 15 16 +all: 10 11 12 13 14 15 16 17 10: $(call build-image,"10","3","bullseye") @@ -42,3 +42,6 @@ all: 10 11 12 13 14 15 16 16: $(call build-image,"16","3","bookworm") + +17: + $(call build-image,"17","3","bookworm") From b727f86c38edb839809e967e24b637e7e79588f3 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Tue, 1 Oct 2024 09:14:28 +0200 Subject: [PATCH 2/2] fix: only push images if ref is master --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1f19535..3ccbfb5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -28,9 +28,9 @@ jobs: run: | make all - name: "Push images" + if: ${{ github.ref == 'refs/heads/master' }} env: PUSH_DOCKER_HUB: true PUSH_GHCR: true run: | make all - if: github.ref == 'master'