Skip to content

Commit

Permalink
Push latest image if pg_target is 16
Browse files Browse the repository at this point in the history
  • Loading branch information
andyundso committed Apr 30, 2024
1 parent 20ff20e commit 8f43dbe
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,14 @@ jobs:
push: true
cache-to: type=inline
cache-from: "${{ env.CACHE_FROM }}"

- name: Push latest image
if: github.repository == 'pgautoupgrade/docker-pgautoupgrade' && github.ref == 'refs/heads/main' && matrix.pg_target == '16'
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
tags: |
"pgautoupgrade/pgautoupgrade:latest"
push: true
cache-to: type=inline
cache-from: "${{ env.CACHE_FROM }}"

0 comments on commit 8f43dbe

Please sign in to comment.