From d7e0e66a5a8ed1575aaae4b3993f3e7bff2ae94b Mon Sep 17 00:00:00 2001 From: wukongdaily <2666180@gmail.com> Date: Sat, 15 Jun 2024 22:30:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=BF=9D=E5=AD=98=E6=97=B6?= =?UTF-8?q?=E9=97=B41=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/amd64.yml | 7 ++++--- .github/workflows/arm32.yml | 1 + .github/workflows/arm64.yml | 3 ++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/amd64.yml b/.github/workflows/amd64.yml index 22c9821..f9f52dd 100644 --- a/.github/workflows/amd64.yml +++ b/.github/workflows/amd64.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: docker_images: - description: 'Comma-separated list of Docker images to pull' + description: '请填写docker镜像名称 多个用英文逗号分开' required: true default: 'alpine:latest,ubuntu:latest' # 设置默认的 Docker 镜像列表 @@ -26,13 +26,14 @@ jobs: done - name: Compress the TAR files - run: tar -czf images.tar.gz *-amd64.tar + run: tar -czf x86-64-images.tar.gz *-amd64.tar - name: Upload artifact uses: actions/upload-artifact@v2 with: name: docker-images-tar - path: images.tar.gz + path: x86-64-images.tar.gz + retention-days: 1 # 将保留天数设置为 1 天 最多可设置90天 - name: Clean up intermediate files run: | diff --git a/.github/workflows/arm32.yml b/.github/workflows/arm32.yml index c915c0d..999de48 100644 --- a/.github/workflows/arm32.yml +++ b/.github/workflows/arm32.yml @@ -33,6 +33,7 @@ jobs: with: name: docker-images-tar path: arm32-images.tar.gz + retention-days: 1 # 将保留天数设置为 1 天 最多可设置90天 - name: Clean up intermediate files run: | diff --git a/.github/workflows/arm64.yml b/.github/workflows/arm64.yml index a7c96ac..0bf34cd 100644 --- a/.github/workflows/arm64.yml +++ b/.github/workflows/arm64.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: docker_images: - description: 'Comma-separated list of Docker images to pull' + description: '请填写docker镜像名称 多个用英文逗号分开' required: true default: 'alpine:latest,ubuntu:latest' # 设置默认的 Docker 镜像列表 @@ -33,6 +33,7 @@ jobs: with: name: docker-images-tar path: arm64-images.tar.gz + retention-days: 1 # 将保留天数设置为 1 天 最多可设置90天 - name: Clean up intermediate files run: |