diff --git a/.github/workflows/docker-image-publish.yml b/.github/workflows/docker-image-publish.yml index c2d36bf0e..cb636df69 100644 --- a/.github/workflows/docker-image-publish.yml +++ b/.github/workflows/docker-image-publish.yml @@ -16,6 +16,13 @@ jobs: if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 + - name: free disk space + run: | + sudo swapoff -a + sudo rm -f /swapfile + sudo apt clean + docker rmi $(docker image ls -aq) + df -h - name: Set up QEMU uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx