@@ -40,15 +40,14 @@ jobs:
40
40
[[ "${{ steps.filter.outputs.pgstac }}" == "true" ]] && buildpg=true || ref=main;
41
41
echo "pgtag=${{ env.REGISTRY }}/stac-utils/pgstac-postgres:$ref" >>$GITHUB_OUTPUT;
42
42
echo "buildpg=$buildpg" >>$GITHUB_OUTPUT;
43
- buildy =false;
43
+ buildpy =false;
44
44
[[ "${{ steps.filter.outputs.pypgstac }}" == "true" ]] && buildpy=true || ref=main;
45
45
echo "pytag=${{ env.REGISTRY }}/stac-utils/pgstac-pyrust:$ref" >>$GITHUB_OUTPUT;
46
- echo "buildpy=$buildpg " >>$GITHUB_OUTPUT;
46
+ echo "buildpy=$buildpy " >>$GITHUB_OUTPUT;
47
47
48
48
# This builds a base postgres image that has everything installed to be able to run pgstac. This image does not have pgstac itself installed.
49
49
buildpg :
50
50
name : Build and push base postgres image
51
- if : ${{ needs.changes.outputs.buildpgdocker == 'true' }}
52
51
runs-on : ubuntu-latest
53
52
needs : [changes]
54
53
steps :
61
60
username : ${{ github.actor }}
62
61
password : ${{ secrets.GITHUB_TOKEN }}
63
62
- name : Build and Push Base Postgres
63
+ if : ${{ needs.changes.outputs.buildpgdocker == 'true' }}
64
64
uses : docker/build-push-action@v4
65
65
with :
66
66
platforms : linux/amd64,linux/arm64
74
74
75
75
buildpyrust :
76
76
name : Build and push base pyrust
77
- if : ${{ needs.changes.outputs.buildpyrustdocker == 'true' }}
78
77
runs-on : ubuntu-latest
79
78
needs : [changes]
80
79
steps :
87
86
username : ${{ github.actor }}
88
87
password : ${{ secrets.GITHUB_TOKEN }}
89
88
- name : Build and Push Base pyrust
89
+ if : ${{ needs.changes.outputs.buildpyrustdocker == 'true' }}
90
90
uses : docker/build-push-action@v4
91
91
with :
92
92
platforms : linux/amd64,linux/arm64
0 commit comments