mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-06-27 09:12:43 +02:00
Update workflow
This commit is contained in:
parent
9751feb778
commit
de4a9193b6
1 changed files with 6 additions and 7 deletions
13
.github/workflows/pr-release.yml
vendored
13
.github/workflows/pr-release.yml
vendored
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue