From ecdd3c9847d4b32124c708d74dc0b9a4fa53a232 Mon Sep 17 00:00:00 2001 From: CloudForge Dev Date: Wed, 19 Nov 2025 15:36:44 +0800 Subject: [PATCH] Use buildkit for image building - Backend Only --- .gitea/workflows/build-deploy.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index bc90e3c..747e7c2 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -30,14 +30,14 @@ jobs: --load \ -t cloudforge-dashboard-backend:${{ github.sha }} \ -t cloudforge-dashboard-backend:latest \ - ./dashboard-backend + . - # 構建前端 - docker buildx build \ - --load \ - -t cloudforge-dashboard-frontend:${{ github.sha }} \ - -t cloudforge-dashboard-frontend:latest \ - ./dashboard-frontend + # # 構建前端 + # docker buildx build \ + # --load \ + # -t cloudforge-dashboard-frontend:${{ github.sha }} \ + # -t cloudforge-dashboard-frontend:latest \ + # ./dashboard-frontend - name: Verify images run: | @@ -49,7 +49,7 @@ jobs: # 保存為 tar,用於後續部署 mkdir -p /tmp/images docker save cloudforge-dashboard-backend:latest -o /tmp/images/backend.tar - docker save cloudforge-dashboard-frontend:latest -o /tmp/images/frontend.tar + # docker save cloudforge-dashboard-frontend:latest -o /tmp/images/frontend.tar - name: Summary run: |