From 21f1ef94609c8d157bfbb1a618a6625c77dfb526 Mon Sep 17 00:00:00 2001 From: "Jonathan Gonzalez V." Date: Sat, 31 Aug 2024 15:20:15 +0200 Subject: [PATCH] fix: export pg_major to another job Signed-off-by: Jonathan Gonzalez V. --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a4767ae..f907032 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -38,6 +38,7 @@ jobs: packages: write outputs: tag: ${{ env.TAG }} + pg_major: ${{ env.PG_MAJOR }} steps: - name: Checkout Code uses: actions/checkout@v4 @@ -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