Skip to content

Commit

Permalink
Add prune step to CI (#79)
Browse files Browse the repository at this point in the history
Clear all the podman images/containers as first step in the CI process.

This assumes, we don't have any concurrent SDK CI builds on the machine
that hosts the runner. This holds true, and avoid piling up disk space
for dangling images.
  • Loading branch information
nikolaszimmermann authored Nov 21, 2024
1 parent ccd09fe commit 433d509
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/wkdev-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v4

- name: Prune podman containers/images
run: |
podman system prune --all --force
- name: Build image
run: |
source ./register-sdk-on-host.sh
Expand Down

0 comments on commit 433d509

Please sign in to comment.