Skip to content

Commit

Permalink
fix: export pg_major to another job
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Gonzalez V. <[email protected]>
  • Loading branch information
sxd committed Aug 31, 2024
1 parent bcdc3a2 commit 21f1ef9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
packages: write
outputs:
tag: ${{ env.TAG }}
pg_major: ${{ env.PG_MAJOR }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
steps:
- name: Output summary
run: |
pg_major="${{ env.PG_MAJOR }}"
pg_major="${{ needs.build-pg.outputs.pg_major }}"
image="${{ env.REGISTRY }}:${{ needs.build-pg.outputs.tag }}"
imageURL="https://${image}"
echo "# PostgreSQL Image Build summary" >> $GITHUB_STEP_SUMMARY
Expand Down

0 comments on commit 21f1ef9

Please sign in to comment.