Skip to content

Comments

fix: add additional cleanup in docker publish workflow, running out of runner space#535

Merged
lawrence-u10d merged 1 commit intomainfrom
fix-space-on-publish
Jan 2, 2026
Merged

fix: add additional cleanup in docker publish workflow, running out of runner space#535
lawrence-u10d merged 1 commit intomainfrom
fix-space-on-publish

Conversation

@lawrence-u10d
Copy link
Contributor

@lawrence-u10d lawrence-u10d commented Jan 2, 2026

Same code applied to the CI workflow in a previous PR but it's required on the docker publish workflow as well due to the limited github runner disk space

https://github.com/Unstructured-IO/unstructured-api/blob/main/.github/workflows/ci.yml#L120-L140


Note

Introduces proactive disk cleanup to prevent runner out-of-space failures during image builds.

  • Adds Free up disk space step in docker-publish.yml that removes large preinstalled toolchains (e.g., dotnet, ghc, boost, Android, CodeQL, ghcup, Swift) and runs docker system prune -af --volumes, logging df -h before/after
  • Keeps the existing image build logic intact, now executed in a subsequent Build image step

Written by Cursor Bugbot for commit 20d2aef. This will update automatically on new commits. Configure here.

@lawrence-u10d lawrence-u10d merged commit 1f8b680 into main Jan 2, 2026
13 checks passed
@lawrence-u10d lawrence-u10d deleted the fix-space-on-publish branch January 2, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants