From 1e3b9faa8bae4a8c06000a6769552d238d897af3 Mon Sep 17 00:00:00 2001 From: tone Date: Sat, 20 Dec 2025 15:09:43 +0800 Subject: [PATCH] debug: .... --- .gitea/workflows/deploy.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index fa36099..8d55008 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -10,9 +10,9 @@ jobs: container: image: localhost:5000/tiny-ci-runner:latest volumes: - - /etc/k3s-local.yaml:/root/.kube/config:ro + - /etc/k3s-local.yaml:/tmp/kubeconfig:ro env: - KUBECONFIG: /root/.kube/config + KUBECONFIG: /tmp/kubeconfig runs-on: ubuntu-latest steps: - name: Checkout code @@ -37,11 +37,12 @@ jobs: -t localhost:5000/frontend:latest . docker push localhost:5000/frontend:latest - - name: Debug kubeconfig existence + - name: Debug kubeconfig run: | - ls -la /root/.kube/ - grep server /root/.kube/config - + ls -l /tmp/kubeconfig + kubectl config view + kubectl get nodes + - name: Deploy to K3s run: | cd apps/deploy