diff --git a/.github/workflows/amd64.yml b/.github/workflows/amd64.yml index a72ef284..869b7a3e 100644 --- a/.github/workflows/amd64.yml +++ b/.github/workflows/amd64.yml @@ -1,12 +1,11 @@ name: x86-64 Pull and Save Docker Image - on: workflow_dispatch: inputs: docker_images: description: '请填写docker镜像名称 多个用英文逗号分开' required: true - default: 'alpine:latest,ubuntu:latest' # 设置默认的 Docker 镜像列表 + default: 'alpine:latest' # 设置默认的 Docker 镜像列表 jobs: pull_and_package: @@ -16,6 +15,11 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Clean up Docker to free space + run: | + docker system prune -a -f + docker volume prune -f + - name: Pull Docker Images and Package run: | images="${{ github.event.inputs.docker_images }}"