设置保存时间1天

This commit is contained in:
wukongdaily 2024-06-15 22:30:06 +08:00
parent 34d9ae093a
commit d7e0e66a5a
3 changed files with 7 additions and 4 deletions

View File

@ -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: |

View File

@ -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: |

View File

@ -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: |