From cbec9d5a4adb6718e63b5b7adb01b963dd918775 Mon Sep 17 00:00:00 2001 From: Andy Pfister Date: Mon, 30 Sep 2024 14:56:57 +0200 Subject: [PATCH] Bump latest tag to v17 Missed this with https://github.com/pgautoupgrade/docker-pgautoupgrade/pull/48. --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f1ada39..4dff011 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,6 +6,9 @@ on: schedule: - cron: "0 0 * * 0" +env: + LATEST_POSTGRES_VERSION: "17" + jobs: base-images: # for security reason, we only build these images in our repository and on the main branch @@ -150,7 +153,7 @@ jobs: cache-from: "${{ env.CACHE_FROM }}" - name: Push latest image - if: github.repository == 'pgautoupgrade/docker-pgautoupgrade' && github.ref == 'refs/heads/main' && matrix.pg_target == '16' && matrix.operating_system.flavor == 'alpine' + if: github.repository == 'pgautoupgrade/docker-pgautoupgrade' && github.ref == 'refs/heads/main' && matrix.pg_target == env.LATEST_POSTGRES_VERSION && matrix.operating_system.flavor == 'alpine' uses: docker/build-push-action@v6 with: file: "Dockerfile.${{ matrix.operating_system.flavor }}"