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
c8fd5cf97e
commit
fdbd3cd527
1 changed files with 4 additions and 3 deletions
7
.github/workflows/pr-release.yml
vendored
7
.github/workflows/pr-release.yml
vendored
|
@ -34,8 +34,8 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
id: load-image
|
id: load-image
|
||||||
run: |
|
run: |
|
||||||
docker image import --platform linux/amd64 /tmp/images/image-linux-amd64.tar
|
echo "AMD64_IMAGE_SHA=$(docker image import --platform linux/amd64 /tmp/images/image-linux-amd64.tar)" >> $GITHUB_ENV"
|
||||||
docker image import --platform linux/arm64 /tmp/images/image-linux-arm64.tar
|
echo "ARM64_IMAGE_SHA=$(docker image import --platform linux/arm64 /tmp/images/image-linux-arm64.tar)" >> $GITHUB_ENV"
|
||||||
|
|
||||||
- name: Download Docker metadata
|
- name: Download Docker metadata
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
@ -85,7 +85,8 @@ jobs:
|
||||||
working-directory: /tmp/digests
|
working-directory: /tmp/digests
|
||||||
run: |
|
run: |
|
||||||
docker buildx imagetools create $(cat /tmp/metadata/metadata/metadata.json | jq -cr '.tags | map("-t " + .) | join(" ")') \
|
docker buildx imagetools create $(cat /tmp/metadata/metadata/metadata.json | jq -cr '.tags | map("-t " + .) | join(" ")') \
|
||||||
$(echo ${{ steps.load-image.outputs }} | sed 's/sha256://g' | tr '\n' ' ')
|
$(echo ${{ steps.load-image.outputs.AMD64_IMAGE_SHA }} | sed 's/sha256://g' | tr '\n' ' ') \
|
||||||
|
$(echo ${{ steps.load-image.outputs.ARM64_IMAGE_SHA }} | sed 's/sha256://g' | tr '\n' ' ')
|
||||||
|
|
||||||
- name: Create comment
|
- name: Create comment
|
||||||
uses: marocchino/sticky-pull-request-comment@v2
|
uses: marocchino/sticky-pull-request-comment@v2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue