@@ -40,15 +40,14 @@ jobs:
4040 [[ "${{ steps.filter.outputs.pgstac }}" == "true" ]] && buildpg=true || ref=main;
4141 echo "pgtag=${{ env.REGISTRY }}/stac-utils/pgstac-postgres:$ref" >>$GITHUB_OUTPUT;
4242 echo "buildpg=$buildpg" >>$GITHUB_OUTPUT;
43- buildy =false;
43+ buildpy =false;
4444 [[ "${{ steps.filter.outputs.pypgstac }}" == "true" ]] && buildpy=true || ref=main;
4545 echo "pytag=${{ env.REGISTRY }}/stac-utils/pgstac-pyrust:$ref" >>$GITHUB_OUTPUT;
46- echo "buildpy=$buildpg " >>$GITHUB_OUTPUT;
46+ echo "buildpy=$buildpy " >>$GITHUB_OUTPUT;
4747
4848 # This builds a base postgres image that has everything installed to be able to run pgstac. This image does not have pgstac itself installed.
4949 buildpg :
5050 name : Build and push base postgres image
51- if : ${{ needs.changes.outputs.buildpgdocker == 'true' }}
5251 runs-on : ubuntu-latest
5352 needs : [changes]
5453 steps :
6160 username : ${{ github.actor }}
6261 password : ${{ secrets.GITHUB_TOKEN }}
6362 - name : Build and Push Base Postgres
63+ if : ${{ needs.changes.outputs.buildpgdocker == 'true' }}
6464 uses : docker/build-push-action@v4
6565 with :
6666 platforms : linux/amd64,linux/arm64
7474
7575 buildpyrust :
7676 name : Build and push base pyrust
77- if : ${{ needs.changes.outputs.buildpyrustdocker == 'true' }}
7877 runs-on : ubuntu-latest
7978 needs : [changes]
8079 steps :
8786 username : ${{ github.actor }}
8887 password : ${{ secrets.GITHUB_TOKEN }}
8988 - name : Build and Push Base pyrust
89+ if : ${{ needs.changes.outputs.buildpyrustdocker == 'true' }}
9090 uses : docker/build-push-action@v4
9191 with :
9292 platforms : linux/amd64,linux/arm64
0 commit comments