Skip to content

Commit

Permalink
修改压缩方式
Browse files Browse the repository at this point in the history
  • Loading branch information
wukongdaily authored Dec 10, 2024
1 parent 076ee84 commit bb29a1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/amd64-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
image_name="${image//\//_}"
image_name="${image_name//:/_}"
docker save "${image}" -o "${image_name}-amd64.tar"
tar -czf "${image_name}.tar.gz" "${image_name}-amd64.tar"; rm "${image_name}-amd64.tar"
gzip -c "${image_name}-amd64.tar" > "${image_name}-amd64.tar.gz"
rm "${image_name}-amd64.tar"
done
- name: List generated files (debug step)
Expand Down

0 comments on commit bb29a1c

Please sign in to comment.