Explorar o código

Clean disk space in push-docker-image.yaml (#558)

justheuristic hai 1 ano
pai
achega
efee5d1fa8
Modificáronse 1 ficheiros con 11 adicións e 0 borrados
  1. 11 0
      .github/workflows/push-docker-image.yaml

+ 11 - 0
.github/workflows/push-docker-image.yaml

@@ -42,6 +42,17 @@ jobs:
           username: ${{ secrets.DOCKER_HUB_USERNAME }}
           password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
 
+      - name: Free disk space on Ubuntu runner
+        uses: kfir4444/free-disk-space@main
+        with:
+          # found in: https://github.com/docker/build-push-action/issues/968
+          tool-cache: false
+          android: true
+          dotnet: true
+          haskell: true
+          large-packages: true
+          swap-storage: true
+
       - name: Build and push
         id: docker_build
         uses: docker/build-push-action@v2