Skip to content

Commit 0c38676

Browse files
committed
fix: purge (even) more
1 parent 3d1d90b commit 0c38676

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/build_push_pr_ecr.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,18 +34,23 @@ jobs:
3434
# scripts/lint
3535
# scripts/typecheck
3636

37-
3837
- name: Cleanup space
38+
# ref: https://github.com/actions/runner-images/issues/2840
3939
run: |
40-
df -h
41-
rm -rf /opt/hostedtoolcache
42-
df -h
40+
echo "Before:"
41+
df -h /
42+
rm -rf /usr/share/dotnet
43+
rm -rf "$AGENT_TOOLSDIRECTORY"
44+
echo "After:"
45+
df -h /
4346
4447
- name: Build image
4548
run: |
4649
df -h
4750
docker build -t hls-atmospheric-correction .
4851
52+
# FIXME: use Github Actions version,
53+
# https://github.com/depot/build-push-action/blob/main/docs/build-and-push-ecr.md
4954
- name: Push to latest ECR
5055
id: push-latest-ecr
5156
uses: jwalton/gh-ecr-push@v1

0 commit comments

Comments
 (0)