From 7ebbff9e2c72ab2de43302cc152b99f8348ffaa2 Mon Sep 17 00:00:00 2001 From: wukongdaily <143675923+wukongdaily@users.noreply.github.com> Date: Sat, 15 Jun 2024 18:33:39 +0800 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83e36b5..8b5a74a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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