Add .gitea/workflows/*.yaml

This commit is contained in:
2025-10-18 23:54:27 -07:00
parent 7f7020f53c
commit 3269f2f461

View File

@@ -35,15 +35,13 @@ jobs:
push: true push: true
tags: gitea.cuihang1201.synology.me/hangpersonal/docker_build:latest tags: gitea.cuihang1201.synology.me/hangpersonal/docker_build:latest
- name: Stop BuildKit container
- name: Clean up Buildx builder
if: ${{ always() }} if: ${{ always() }}
run: | run: |
docker buildx ls docker ps -a --filter "name=buildx_buildkit" --format "{{.Names}}" | while read c; do
BUILDER=$(docker buildx ls | awk '/builder/ {print $1; exit}') echo "Stopping $c..."
if [ -n "$BUILDER" ]; then docker stop "$c" || true
docker buildx rm "$BUILDER" || true done
fi
# Optional quick health check, runs detached and then cleaned up # Optional quick health check, runs detached and then cleaned up
- name: Smoke test - name: Smoke test