Skip to content

Commit

Permalink
github actions: some free space debugging and freeing up
Browse files Browse the repository at this point in the history
Jobs are failing due to "no space left on device" when building
the container image. Adding some df output and trying if
cleaning up some stuff before the build helps.

See: actions/runner-images#709

Signed-off-by: Michael Adam <[email protected]>
  • Loading branch information
obnoxxx committed Feb 7, 2021
1 parent 30f0365 commit c9a87a5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v2
- name: check free space
run: df -h
- name: clean some stuff
run: sudo apt-get clean
- name: check space again
run: df -h
- name: build container image
# note: forcing use of podman here since we are
# using podman explicity for the push job
Expand Down

0 comments on commit c9a87a5

Please sign in to comment.