File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -207,12 +207,23 @@ jobs:
207207 SLACK_MESSAGE : " Building Postgres image failed for version ${{ matrix.version }}"
208208 SLACK_FOOTER : " "
209209
210- publish :
210+ get_publish_version :
211211 needs : [build, merge_manifest]
212212 strategy :
213213 matrix :
214214 image_tag : ${{ fromJson(needs.build.outputs.image_tags) }}
215+ runs-on : ubuntu-latest
216+ outputs :
217+ version : ${{ steps.get_version.outputs.version }}
218+ steps :
219+ - id : get_version
220+ run : |
221+ VERSION=$(echo "${{ matrix.image_tag }}" | sed 's|supabase/postgres:||')
222+ echo "publish_version=$VERSION" >> $GITHUB_OUTPUT
223+
224+ publish :
225+ needs : get_puglixh_version
215226 uses : ./.github/workflows/mirror.yml
216227 with :
217- version : ${{ replace(matrix.image_tag, 'supabase/postgres:', '') }}
228+ version : ${{ needs.get_version.outputs.publish_version }}
218229 secrets : inherit
You can’t perform that action at this time.
0 commit comments