Update test.yml

This commit is contained in:
wukongdaily 2024-06-15 18:14:14 +08:00 committed by GitHub
parent ff6f18f510
commit dabfc5a6ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

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