Skip to content

Commit

Permalink
Bump latest tag to v17
Browse files Browse the repository at this point in the history
Missed this with #48.
  • Loading branch information
andyundso committed Sep 30, 2024
1 parent fb7ad07 commit cbec9d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}"
Expand Down

0 comments on commit cbec9d5

Please sign in to comment.