设置保存时间1天
This commit is contained in:
parent
34d9ae093a
commit
d7e0e66a5a
7
.github/workflows/amd64.yml
vendored
7
.github/workflows/amd64.yml
vendored
@ -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: |
|
||||
|
1
.github/workflows/arm32.yml
vendored
1
.github/workflows/arm32.yml
vendored
@ -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: |
|
||||
|
3
.github/workflows/arm64.yml
vendored
3
.github/workflows/arm64.yml
vendored
@ -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: |
|
||||
|
Loading…
Reference in New Issue
Block a user