mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-20 07:22:34 +08:00
Update sync-build-release.yml
This commit is contained in:
parent
3f8212cb2e
commit
6073804c99
15
.github/workflows/sync-build-release.yml
vendored
15
.github/workflows/sync-build-release.yml
vendored
@ -268,6 +268,21 @@ jobs:
|
|||||||
if: ${{ success() && steps.build.outputs.digest != '' }}
|
if: ${{ success() && steps.build.outputs.digest != '' }}
|
||||||
run: echo "built=true" >> "$GITHUB_OUTPUT"
|
run: echo "built=true" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
|
- name: Remove BuildKit image (moby/buildkit)
|
||||||
|
if: ${{ always() }}
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
set -euxo pipefail
|
||||||
|
docker image rm -f $(docker images 'moby/buildkit*' -q) 2>/dev/null || true
|
||||||
|
|
||||||
|
- name: Cleanup (always, scoped)
|
||||||
|
if: ${{ always() }}
|
||||||
|
run: |
|
||||||
|
set -euxo pipefail
|
||||||
|
docker buildx prune -af || true
|
||||||
|
docker image prune -af --filter "until=168h" || true
|
||||||
|
rm -rf "${GITHUB_WORKSPACE:?}/"* "${GITHUB_WORKSPACE:?}/."[!.]* 2>/dev/null || true
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
name: Publish Release
|
name: Publish Release
|
||||||
needs: [check-upstream, build-gh, build-self]
|
needs: [check-upstream, build-gh, build-self]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user