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

Commit a5b6806

Browse files
committed
Free up space to get docker build to work
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
1 parent e16097a commit a5b6806

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,10 @@ jobs:
2424
- name: Build the Docker image
2525
run: |
2626
cd shippable
27+
df -h
28+
# remove a few things to free up space
29+
sudo rm -rf "/usr/local/share/boost"
30+
sudo rm -rf "/usr/local/lib/android"
31+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
32+
df -h
2733
docker build . --file Dockerfile --tag docker.io/${DOCKER_USER}/${DOCKER_REPO}:${{ github.sha }}

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ jobs:
4242
DOCKER_TAG: ${{ steps.docker_tag.outputs.DOCKER_TAG }}
4343
run: |
4444
cd shippable
45+
df -h
46+
# remove a few things to free up space
47+
sudo rm -rf "/usr/local/share/boost"
48+
sudo rm -rf "/usr/local/lib/android"
49+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
50+
df -h
4551
docker build . --file Dockerfile --tag docker.io/${DOCKER_USER}/${DOCKER_REPO}:${DOCKER_TAG}
4652
4753
- name: push

0 commit comments

Comments
 (0)