Skip to content

Commit

Permalink
push first the postres img so we benefit from it
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremi committed Feb 1, 2024
1 parent 66c1ca8 commit ec5805f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ jobs:
VCS_REF=${{ github.sha }}
BASE_TAG=${{ matrix.pg_version }}-alpine
- name: Push image Postgres to GHCR
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.buildpg.outputs.image }}
tags: ${{ steps.buildpg.outputs.tags }}
registry: ghcr.io/openspp
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image PostGIS
id: buildpgis
uses: redhat-actions/buildah-build@v2
Expand All @@ -77,15 +86,6 @@ jobs:
VCS_REF=${{ github.sha }}
BASE_TAG=${{ matrix.pg_version }}-alpine
- name: Push image Postgres to GHCR
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.buildpg.outputs.image }}
tags: ${{ steps.buildpg.outputs.tags }}
registry: ghcr.io/openspp
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push image PostGIS to GHCR
uses: redhat-actions/push-to-registry@v2
with:
Expand Down

0 comments on commit ec5805f

Please sign in to comment.