Skip to content

Commit

Permalink
Merge pull request kubeedge#5114 from Shelley-BaoYue/master
Browse files Browse the repository at this point in the history
cleanup unused images for ci
  • Loading branch information
kubeedge-bot authored Oct 25, 2023
2 parents 6a9a11a + d9929c5 commit d8ca002
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,9 @@ jobs:
with:
fetch-depth: 0

- name: cleanup images
run: docker system prune -a -f

- name: Retrieve saved kubeedge/build-tools image
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -263,6 +266,9 @@ jobs:
with:
fetch-depth: 0

- name: cleanup images
run: docker system prune -a -f

- name: Retrieve saved kubeedge/build-tools image
uses: actions/download-artifact@v3
with:
Expand Down Expand Up @@ -316,6 +322,9 @@ jobs:
run: |
containerd config default | sudo tee /etc/containerd/config.toml && sudo systemctl restart containerd.service
- name: cleanup images
run: docker system prune -a -f

- run: make keadm_e2e

docker_build:
Expand All @@ -333,6 +342,9 @@ jobs:
with:
fetch-depth: 0

- name: cleanup images
run: docker system prune -a -f

- name: make image
run: |
export DOCKER_BUILD_AND_SYSTEM_PRUNE="true"
Expand Down

0 comments on commit d8ca002

Please sign in to comment.