Skip to content

Commit

Permalink
Add platforms and comments to ci build for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
bitner committed Jan 24, 2024
1 parent ca082e4 commit 0fa5a6e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
echo "pytag=${{ env.REGISTRY }}/stac-utils/pgstac-pyrust:$ref" >>$GITHUB_OUTPUT;
echo "buildpy=$buildpg" >>$GITHUB_OUTPUT;
# This builds a base postgres image that has everything installed to be able to run pgstac. This image does not have pgstac itself installed.
buildpg:
name: Build and push base postgres
name: Build and push base postgres image (you will need to run pypgstac migrate to install pgstac)
if: ${{ needs.changes.outputs.buildpgdocker == 'true' }}
runs-on: ubuntu-latest
needs: [changes]
Expand All @@ -62,8 +63,9 @@ jobs:
- name: Build and Push Base Postgres
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
context: .
target: pgstacbase-plrust
target: pgstacbase
file: docker/pgstac/Dockerfile
tags: ${{ needs.changes.outputs.pgdocker }}
push: true
Expand All @@ -87,6 +89,7 @@ jobs:
- name: Build and Push Base pyrust
uses: docker/build-push-action@v4
with:
platforms: linux/amd64,linux/arm64
context: .
target: pyrustbase
file: docker/pypgstac/Dockerfile
Expand Down

0 comments on commit 0fa5a6e

Please sign in to comment.