debug: ....
Some checks failed
Deploy to K3s / deploy (push) Failing after 4s

This commit is contained in:
2025-12-20 15:09:43 +08:00
parent f3e31106d0
commit 1e3b9faa8b

View File

@@ -10,9 +10,9 @@ jobs:
container: container:
image: localhost:5000/tiny-ci-runner:latest image: localhost:5000/tiny-ci-runner:latest
volumes: volumes:
- /etc/k3s-local.yaml:/root/.kube/config:ro - /etc/k3s-local.yaml:/tmp/kubeconfig:ro
env: env:
KUBECONFIG: /root/.kube/config KUBECONFIG: /tmp/kubeconfig
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
@@ -37,11 +37,12 @@ jobs:
-t localhost:5000/frontend:latest . -t localhost:5000/frontend:latest .
docker push localhost:5000/frontend:latest docker push localhost:5000/frontend:latest
- name: Debug kubeconfig existence - name: Debug kubeconfig
run: | run: |
ls -la /root/.kube/ ls -l /tmp/kubeconfig
grep server /root/.kube/config kubectl config view
kubectl get nodes
- name: Deploy to K3s - name: Deploy to K3s
run: | run: |
cd apps/deploy cd apps/deploy