Skip to content

Commit

Permalink
fix: tryo to pass the version
Browse files Browse the repository at this point in the history
  • Loading branch information
samrose committed Dec 17, 2024
1 parent 94c32a5 commit 2c94c9c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dockerhub-release-matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,16 +214,18 @@ jobs:
image_tag: ${{ fromJson(needs.build.outputs.image_tags) }}
runs-on: ubuntu-latest
outputs:
version: ${{ steps.get_version.outputs.publish_version }}
version: ${{ steps.get_version.outputs.version }}
steps:
- id: get_version
run: |
VERSION=$(echo "${{ matrix.image_tag }}" | sed 's|supabase/postgres:||')
echo "publish_version=$VERSION" >> $GITHUB_OUTPUT
# Changed to match the output name expected by the publish job
echo "Extracted version: $VERSION"
echo "version=$VERSION" >> $GITHUB_OUTPUT
publish:
needs: get_publish_version
uses: ./.github/workflows/mirror.yml
with:
version: ${{ needs.get_version.outputs.publish_version }}
version: ${{ needs.get_publish_version.outputs.version }}
secrets: inherit

0 comments on commit 2c94c9c

Please sign in to comment.