mirror of
https://github.com/Threnklyn/wg-ui.git
synced 2026-05-18 21:03:30 +02:00
Fix GitHub Action (no space left on device) (#53)
* Removing swap and cleaning up apt cache. * List all docker images on machine, in order to do cleanup * Cleanup old docker images * Adding disk cleanup for master push
This commit is contained in:
@@ -40,6 +40,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: free disk space
|
||||
run: |
|
||||
sudo swapoff -a
|
||||
sudo rm -f /swapfile
|
||||
sudo apt clean
|
||||
docker rmi $(docker image ls -aq)
|
||||
df -h
|
||||
- name: Install buildah
|
||||
run: |
|
||||
sudo apt-get install -qq -y software-properties-common
|
||||
|
||||
Reference in New Issue
Block a user