fix: build test
Some checks failed
Docker Image CI / build (push) Failing after 7s

This commit is contained in:
merlin
2025-10-22 11:05:54 +08:00
parent 039c4809fb
commit 2f4b2d740b

View File

@@ -14,6 +14,12 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: see ls - name: see ls
run: ls run: ls
- name: start buildkit
run: |
mkdir -p /tmp/buildkit
buildkitd --root /tmp/buildkit --addr unix:///tmp/buildkit/buildkitd.sock &
export BUILDKIT_HOST=unix:///tmp/buildkit/buildkitd.sock
sleep 5 # 等待 buildkitd 启动
- name: Build and push Docker images - name: Build and push Docker images
env: env:
HARBOR: ${{ vars.HARBOR }} HARBOR: ${{ vars.HARBOR }}