Skip to content

Commit

Permalink
Clean disk space in push-docker-image.yaml (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
justheuristic committed Mar 2, 2024
1 parent 0d91bbd commit efee5d1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/push-docker-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efee5d1

Please sign in to comment.