Skip to content

Commit

Permalink
chore: add summary build with commit fest and patch id information
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Gonzalez V. <jonathan.abdiel@gmail.com>
  • Loading branch information
sxd committed Aug 30, 2024
1 parent 8025e57 commit 1943c00
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-commitfest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
permissions:
contents: read
packages: write
outputs:
tag: ${{ env.TAG }}
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand Down Expand Up @@ -60,3 +62,21 @@ jobs:
build-args: |
PG_REPO=https://github.com/postgresql-cfbot/postgresql.git
PG_BRANCH=${{ env.BRANCH }}
generate-summary:
name: Commit Fest image build
runs-on: ubuntu-22.04
needs:
- build-pg
steps:
- name: Markdown
run: |
commitFestID=${{ github.event.inputs.commitfest_id }}
commitFestPatchID=${{ github.event.inputs.patch_id }}
commitFestURL="https://commitfest.postgresql.org/${commitFestID}/${commitFestPatchID}"
image="${{ env.REGISTRY }}:${{ needs.build-pg.outputs.tag }}
imageURL="https://${image}"
echo "# Commit Fest Patch" >> $GITHUB_STEP_SUMMARY
echo "[$commitFestID / $commitFestPatchID]($commitFestURL)" >> $GITHUB_STEP_SUMMARY
echo "# Container Image" >> $GITHUB_STEP_SUMMARY
echo "[$image]($imageURL)" >> $GITHUB_STEP_SUMMARY

0 comments on commit 1943c00

Please sign in to comment.