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:
207
207
SLACK_MESSAGE : " Building Postgres image failed for version ${{ matrix.version }}"
208
208
SLACK_FOOTER : " "
209
209
210
- publish :
210
+ get_publish_version :
211
211
needs : [build, merge_manifest]
212
212
strategy :
213
213
matrix :
214
214
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
215
226
uses : ./.github/workflows/mirror.yml
216
227
with :
217
- version : ${{ replace(matrix.image_tag, 'supabase/postgres:', '') }}
228
+ version : ${{ needs.get_version.outputs.publish_version }}
218
229
secrets : inherit
You can’t perform that action at this time.
0 commit comments