fix filename for image tar (#3121)

This commit is contained in:
Xingyao Wang
2024-07-26 10:38:41 +08:00
committed by GitHub
parent f28a6db2c6
commit 99f6f8899d

View File

@@ -206,7 +206,7 @@ jobs:
- name: Load images and push to registry
run: |
mv /tmp/${{ matrix.platform }}/${{ matrix.image }}-docker-image-${{ matrix.platform }}.tar ./${{ matrix.image }}_image_${{ matrix.platform }}.tar
mv /tmp/${{ matrix.platform }}/${{ matrix.image }}_image_${{ matrix.platform }}.tar ./${{ matrix.image }}_image_${{ matrix.platform }}.tar
if ! loaded_image=$(docker load -i ${{ matrix.image }}_image_${{ matrix.platform }}.tar | grep "Loaded image:" | head -n 1 | awk '{print $3}'); then
echo "Failed to load Docker image"
exit 1