update uploading artifact job

This commit is contained in:
MaysWind
2025-09-27 14:46:48 +08:00
parent 786796d457
commit 2423b37cbb
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -84,7 +84,7 @@ jobs:
- name: Pull and save packaged files for ${{ matrix.arch }} - name: Pull and save packaged files for ${{ matrix.arch }}
run: | run: |
VERSION=${{ needs.build-and-push.outputs.image-tag }} VERSION=${{ needs.build-linux-docker.outputs.image-tag }}
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${VERSION} IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${VERSION}
docker pull --platform ${{ matrix.arch }} ${IMAGE} docker pull --platform ${{ matrix.arch }} ${IMAGE}
cid=$(docker create "${IMAGE}") cid=$(docker create "${IMAGE}")
@@ -98,6 +98,6 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: ezbookkeeping-v${{ needs.build-and-push.outputs.image-tag }}-${{ matrix.arch_alias }} name: ezbookkeeping-${{ github.ref_name }}-${{ matrix.arch_alias }}
path: ezbookkeeping-v${{ needs.build-and-push.outputs.image-tag }}-${{ matrix.arch_alias }}.tar.gz path: ezbookkeeping-${{ github.ref_name }}-${{ matrix.arch_alias }}.tar.gz
if-no-files-found: error if-no-files-found: error
+1 -1
View File
@@ -83,7 +83,7 @@ jobs:
- name: Pull and save packaged files for ${{ matrix.arch }} - name: Pull and save packaged files for ${{ matrix.arch }}
run: | run: |
TAG=${{ needs.build-and-push.outputs.image-tag }} TAG=${{ needs.build-linux-docker.outputs.image-tag }}
IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${TAG} IMAGE=${{ secrets.DOCKER_USERNAME }}/ezbookkeeping:${TAG}
docker pull --platform ${{ matrix.arch }} ${IMAGE} docker pull --platform ${{ matrix.arch }} ${IMAGE}
cid=$(docker create "${IMAGE}") cid=$(docker create "${IMAGE}")