Skip to content

Commit 3d76d51

Browse files
authored
1 parent e4365f1 commit 3d76d51

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/amd64.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
name: x86-64 Pull and Save Docker Image
2-
32
on:
43
workflow_dispatch:
54
inputs:
65
docker_images:
76
description: '请填写docker镜像名称 多个用英文逗号分开'
87
required: true
9-
default: 'alpine:latest,ubuntu:latest' # 设置默认的 Docker 镜像列表
8+
default: 'alpine:latest' # 设置默认的 Docker 镜像列表
109

1110
jobs:
1211
pull_and_package:
@@ -16,6 +15,11 @@ jobs:
1615
- name: Checkout repository
1716
uses: actions/checkout@v4
1817

18+
- name: Clean up Docker to free space
19+
run: |
20+
docker system prune -a -f
21+
docker volume prune -f
22+
1923
- name: Pull Docker Images and Package
2024
run: |
2125
images="${{ github.event.inputs.docker_images }}"

0 commit comments

Comments
 (0)