mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-15 13:02:35 +08:00
ci(workflow): remove post-job Docker prunes; keep pre-clean and reliable self-hosted fallback
- Keep pre-build cleanup on GH runners (free-disk-space action and Docker builder/system prune) to prevent ENOSPC during builds. - Remove post-job prune steps for both GH and ephemeral self-hosted runners since runners are discarded after the job and setup-buildx uses cleanup=true to remove builders automatically. - Retain fallback: self-hosted build runs only if the GH build fails; publish succeeds if either path succeeds; final job fails only if both builds fail.
This commit is contained in:
parent
fba33ec275
commit
ae49228b6e
12
.github/workflows/build-release.yml
vendored
12
.github/workflows/build-release.yml
vendored
@ -124,12 +124,6 @@ jobs:
|
||||
${{ env.IMAGE_NAME }}:${{ needs.check-tag.outputs.current_tag }}
|
||||
${{ env.IMAGE_NAME }}:latest
|
||||
|
||||
- name: Prune Docker caches (post)
|
||||
if: always()
|
||||
run: |
|
||||
docker builder prune -af || true
|
||||
docker system prune -af --volumes || true
|
||||
|
||||
build-self:
|
||||
name: Build on Self-Hosted (fallback)
|
||||
needs: [check-tag, build-gh]
|
||||
@ -187,12 +181,6 @@ jobs:
|
||||
${{ env.IMAGE_NAME }}:${{ needs.check-tag.outputs.current_tag }}
|
||||
${{ env.IMAGE_NAME }}:latest
|
||||
|
||||
- name: Prune Docker caches (post)
|
||||
if: always()
|
||||
run: |
|
||||
docker builder prune -af || true
|
||||
docker system prune -af --volumes || true
|
||||
|
||||
publish:
|
||||
name: Update Release
|
||||
needs: [check-tag, build-gh, build-self]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user