Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.

Commit

Permalink
Free up space to get docker build to work
Browse files Browse the repository at this point in the history
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
  • Loading branch information
galak committed May 6, 2020
1 parent e16097a commit a5b6806
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ jobs:
- name: Build the Docker image
run: |
cd shippable
df -h
# remove a few things to free up space
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "/usr/local/lib/android"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
docker build . --file Dockerfile --tag docker.io/${DOCKER_USER}/${DOCKER_REPO}:${{ github.sha }}
6 changes: 6 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ jobs:
DOCKER_TAG: ${{ steps.docker_tag.outputs.DOCKER_TAG }}
run: |
cd shippable
df -h
# remove a few things to free up space
sudo rm -rf "/usr/local/share/boost"
sudo rm -rf "/usr/local/lib/android"
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
df -h
docker build . --file Dockerfile --tag docker.io/${DOCKER_USER}/${DOCKER_REPO}:${DOCKER_TAG}
- name: push
Expand Down

0 comments on commit a5b6806

Please sign in to comment.