Update test.yml

This commit is contained in:
wukongdaily 2024-06-15 18:33:39 +08:00 committed by GitHub
parent 616585ee5a
commit 7ebbff9e2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,7 +29,7 @@ jobs:
for image in "${image_array[@]}"; do
for platform in "${platform_array[@]}"; do
docker pull "${image}" --platform "${platform}"
docker save "${image}" -o "${image//\//_}-${platform}.tar"
docker save "${image}" -o "$(echo "${image//[:\/]/_}-${platform}.tar")"
done
done