From 1cfebd37be975139f9791b77ccb644d9e2de5669 Mon Sep 17 00:00:00 2001 From: hhs <386998068@qq.com> Date: Wed, 10 Jun 2026 11:17:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(ci):=20=E7=A7=BB=E9=99=A4=20Docker=20Build?= =?UTF-8?q?=20=E9=98=B6=E6=AE=B5=EF=BC=8CGitea=20=E4=B8=8D=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20GHA=20=E7=BC=93=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/go-loom.yaml | 44 ++++++++++++++--------------------- 1 file changed, 17 insertions(+), 27 deletions(-) diff --git a/.gitea/workflows/go-loom.yaml b/.gitea/workflows/go-loom.yaml index 10c4e77..467db43 100644 --- a/.gitea/workflows/go-loom.yaml +++ b/.gitea/workflows/go-loom.yaml @@ -93,30 +93,20 @@ jobs: name: goloom-server path: goloom-server - docker: - name: Docker Build - runs-on: ubuntu-latest - needs: [build] - if: github.event_name == 'push' && github.ref == 'refs/heads/main' - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Download binary - uses: actions/download-artifact@v3 - with: - name: goloom-server - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v3 - - - name: Build Docker image - uses: docker/build-push-action@v5 - with: - context: . - push: false - tags: | - goloom:latest - goloom:${{ github.sha }} - cache-from: type=gha - cache-to: type=gha,mode=max + # TODO: 添加 Dockerfile 后启用 + # docker: + # name: Docker Build + # runs-on: ubuntu-latest + # needs: [build] + # if: github.event_name == 'push' && github.ref == 'refs/heads/main' + # steps: + # - name: Checkout code + # uses: actions/checkout@v4 + # - name: Download binary + # uses: actions/download-artifact@v3 + # with: + # name: goloom-server + # - name: Build Docker image + # run: | + # chmod +x goloom-server + # docker build -t goloom:latest -t goloom:${{ github.sha }} .