Skip to content

Commit

Permalink
build: Release unnecessary space before starting to build
Browse files Browse the repository at this point in the history
  • Loading branch information
getwithashish committed Aug 9, 2024
1 parent 55b16a0 commit 7d9edde
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-push-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ jobs:

- name: Check disk usage
run: du -h

- name: Release space
run: rm -rf "/usr/local/share/boost"

- name: Release more space
run: rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Build and Push Docker Image
uses: docker/build-push-action@v5
Expand All @@ -36,11 +42,5 @@ jobs:
- name: Check disk usage
run: df -h

- name: Release space
run: rm -rf "/usr/local/share/boost"

- name: Release more space
run: rm -rf "$AGENT_TOOLSDIRECTORY"

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}

0 comments on commit 7d9edde

Please sign in to comment.