Update workflow

This commit is contained in:
Max Isom 2024-08-18 16:01:21 -07:00
parent 9751feb778
commit de4a9193b6
No known key found for this signature in database

View file

@ -83,11 +83,10 @@ jobs:
run-id: ${{ github.event.workflow_run.id }} run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GH_PAT }} github-token: ${{ secrets.GH_PAT }}
- name: Read the pull_request_number.txt file - name: Read PR number
id: pull_request_number_reader shell: bash
uses: juliangruber/read-file-action@v1.0.0 run: |
with: echo "PR_NUMBER=$(cat /tmp/pull_request_number/pull_request_number/pull_request_number.txt | tr -d '\n')" >> $GITHUB_ENV
path: /tmp/pull_request_number/pull_request_number/pull_request_number.txt
- name: Create manifest list and push - name: Create manifest list and push
run: | run: |
@ -97,12 +96,12 @@ jobs:
uses: marocchino/sticky-pull-request-comment@v2 uses: marocchino/sticky-pull-request-comment@v2
with: with:
header: "pr-release" header: "pr-release"
number: ${{ steps.pull_request_number_reader.outputs.content }} number: ${{ env.PR_NUMBER }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }} GITHUB_TOKEN: ${{ secrets.GH_PAT }}
message: | message: |
#### :package: :robot: A new release has been made for this pull request. #### :package: :robot: A new release has been made for this pull request.
To play around with this PR, pull `${{ env.REGISTRY_IMAGE }}:pr-${{ steps.pull_request_number_reader.outputs.content }}`. To play around with this PR, pull `${{ env.REGISTRY_IMAGE }}:pr-${{ env.PR_NUMBER }}`.
Images are available for x86_64 and ARM64. Images are available for x86_64 and ARM64.