Update test.yml

This commit is contained in:
wukongdaily 2024-06-15 19:53:59 +08:00 committed by GitHub
parent 17a2054b42
commit 50e7232fed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ jobs:
images="${{ github.event.inputs.docker_images }}"
IFS=',' read -r -a image_array <<< "$images"
for image in "${image_array[@]}"; do
docker pull "${image}" --platform "amd64"
docker pull "${image}" --platform "linux/amd64"
docker save "${image}" -o "${image//\//_}-amd64.tar"
done