aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/pr-release.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/pr-release.yml')
-rw-r--r--.github/workflows/pr-release.yml13
1 files changed, 6 insertions, 7 deletions
diff --git a/.github/workflows/pr-release.yml b/.github/workflows/pr-release.yml
index 651840c..e121edd 100644
--- a/.github/workflows/pr-release.yml
+++ b/.github/workflows/pr-release.yml
@@ -83,11 +83,10 @@ jobs:
run-id: ${{ github.event.workflow_run.id }}
github-token: ${{ secrets.GH_PAT }}
- - name: Read the pull_request_number.txt file
- id: pull_request_number_reader
- uses: juliangruber/[email protected]
- with:
- path: /tmp/pull_request_number/pull_request_number/pull_request_number.txt
+ - name: Read PR number
+ shell: bash
+ run: |
+ echo "PR_NUMBER=$(cat /tmp/pull_request_number/pull_request_number/pull_request_number.txt | tr -d '\n')" >> $GITHUB_ENV
- name: Create manifest list and push
run: |
@@ -97,12 +96,12 @@ jobs:
uses: marocchino/sticky-pull-request-comment@v2
with:
header: "pr-release"
- number: ${{ steps.pull_request_number_reader.outputs.content }}
+ number: ${{ env.PR_NUMBER }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
message: |
#### :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.