From eabd922860b5e4b23206a5cdc0d5daac87189d65 Mon Sep 17 00:00:00 2001 From: wukongdaily <143675923+wukongdaily@users.noreply.github.com> Date: Sat, 15 Jun 2024 17:19:42 +0800 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7501754..24f4a53 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ on: docker_images: description: 'Comma-separated list of Docker images to pull' required: true - default: 'wukongdaily/box:latest,haroldli/xiaoya-tvbox:latest' + default: 'alpine:latest,ubuntu:latest' platform: description: 'Platform architecture (e.g., amd64, arm64)' required: true @@ -35,6 +35,9 @@ jobs: docker save "$image" -o "${image_name}.tar" tar -czf "${image_name}.tar.gz" "${image_name}.tar" rm -f "${image_name}.tar" + + # Save image information to environment file + echo "${image}_IMAGE_PATH=${{ runner.temp }}/${image_name}.tar.gz" >> $GITHUB_ENV done - name: Clean up intermediate files