Update test.yml

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

View File

@ -28,7 +28,7 @@ jobs:
IFS=',' read -r -a platform_array <<< "$platforms" IFS=',' read -r -a platform_array <<< "$platforms"
for image in "${image_array[@]}"; do for image in "${image_array[@]}"; do
for platform in "${platform_array[@]}"; do for platform in "${platform_array[@]}"; do
docker pull ${image} --platform ${platform} docker pull "${image}" --platform "${platform}"
docker save "${image}" -o "${image//\//_}-${platform}.tar" docker save "${image}" -o "${image//\//_}-${platform}.tar"
done done
done done