From f89163a3e902a4390d070b1dd7dfcbfd80a1aa86 Mon Sep 17 00:00:00 2001 From: kurihada Date: Mon, 1 Jun 2026 17:27:54 +0800 Subject: [PATCH] Use direct git clone with Docker gateway --- .gitea/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 3acba54..b259eb4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -11,12 +11,12 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone http://172.17.0.1:3000/kurihada/auth-backend.git . + git checkout ${{ github.sha }} - name: Build with Maven - run: | - apt-get update -qq && apt-get install -y -qq maven 2>/dev/null || true - mvn clean install -Dmaven.test.skip=true + run: mvn clean install -Dmaven.test.skip=true - name: Build Docker image run: docker build -t auth-backend:latest .