Skip to content

Commit ec5805f

Browse files
committed
push first the postres img so we benefit from it
1 parent 66c1ca8 commit ec5805f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ jobs:
6262
VCS_REF=${{ github.sha }}
6363
BASE_TAG=${{ matrix.pg_version }}-alpine
6464
65+
- name: Push image Postgres to GHCR
66+
uses: redhat-actions/push-to-registry@v2
67+
with:
68+
image: ${{ steps.buildpg.outputs.image }}
69+
tags: ${{ steps.buildpg.outputs.tags }}
70+
registry: ghcr.io/openspp
71+
username: ${{ github.actor }}
72+
password: ${{ secrets.GITHUB_TOKEN }}
73+
6574
- name: Build image PostGIS
6675
id: buildpgis
6776
uses: redhat-actions/buildah-build@v2
@@ -77,15 +86,6 @@ jobs:
7786
VCS_REF=${{ github.sha }}
7887
BASE_TAG=${{ matrix.pg_version }}-alpine
7988
80-
- name: Push image Postgres to GHCR
81-
uses: redhat-actions/push-to-registry@v2
82-
with:
83-
image: ${{ steps.buildpg.outputs.image }}
84-
tags: ${{ steps.buildpg.outputs.tags }}
85-
registry: ghcr.io/openspp
86-
username: ${{ github.actor }}
87-
password: ${{ secrets.GITHUB_TOKEN }}
88-
8989
- name: Push image PostGIS to GHCR
9090
uses: redhat-actions/push-to-registry@v2
9191
with:

0 commit comments

Comments
 (0)