fix: add disk cleanup to CI and reduce Docker layers
Build & Deploy / build-and-push (backend) (push) Successful in 7m34s
Build & Deploy / build-and-push (discord-gateway) (push) Failing after 8m19s
Build & Deploy / build-and-push (proxy) (push) Failing after 1m12s
Build & Deploy / build-and-push (backend) (push) Successful in 7m34s
Build & Deploy / build-and-push (discord-gateway) (push) Failing after 8m19s
Build & Deploy / build-and-push (proxy) (push) Failing after 1m12s
Runner runs out of disk space during discord-gateway build. Add docker system prune before build and combine Dockerfile layers to reduce disk usage. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
540a71f983
commit
7bebb23c1d
@@ -20,6 +20,9 @@ jobs:
|
||||
apt-get update -qq
|
||||
apt-get install -y -qq --no-install-recommends ca-certificates git docker.io
|
||||
git config --global http.sslVerify false
|
||||
# Clean up runner disk before build
|
||||
docker system prune -af --volumes 2>/dev/null || true
|
||||
apt-get clean 2>/dev/null || true
|
||||
|
||||
- name: Checkout
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user