Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremi committed Feb 1, 2024
1 parent 7853f57 commit 5451f70
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: echo "tag=${{ matrix.platform == 'amd64' && ' latest' || format(' latest-{0}', matrix.platform) }}" >> $GITHUB_OUTPUT

- name: Build image Postgres
id: build
id: buildpg
uses: redhat-actions/buildah-build@v2
with:
image: postgres-autoconf
Expand All @@ -62,17 +62,8 @@ 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.build.outputs.image }}
tags: ${{ steps.build.outputs.tags }}
registry: ghcr.io/openspp
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build image PostGIS
id: build
id: buildpgis
uses: redhat-actions/buildah-build@v2
with:
image: postgis-autoconf
Expand All @@ -86,11 +77,20 @@ 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:
image: ${{ steps.build.outputs.image }}
tags: ${{ steps.build.outputs.tags }}
image: ${{ steps.buildpgis.outputs.image }}
tags: ${{ steps.buildpgis.outputs.tags }}
registry: ghcr.io/openspp
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 5451f70

Please sign in to comment.