Use Drone kubeconfig for Helm deploy
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-06-20 02:38:54 +08:00
parent 4e6218a40f
commit b838d482bd

View File

@@ -25,5 +25,6 @@ steps:
network_mode: teaching-k8s
environment:
HOME: /home/cdchen
KUBECONFIG: /home/cdchen/.kube/config-drone
commands:
- helm upgrade --install frontend ./chart --namespace demo --create-namespace --set image.repository=host.minikube.internal:5000/cdchen-frontend --set image.tag=k8s-${DRONE_COMMIT_SHA:0:8}