Use private kubectl image
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Agent
2026-03-20 16:17:42 +00:00
parent 139f49e87b
commit 8e0bd4ac6c

View File

@@ -36,7 +36,7 @@ steps:
from_secret: registry_password from_secret: registry_password
- name: deploy-to-k8s - name: deploy-to-k8s
image: bitnami/kubectl:latest image: ccr.ccs.tencentyun.com/violin/kubectl:latest
commands: commands:
- kubectl set image deployment/todo-backend todo-backend=ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA} -n todo-test - kubectl set image deployment/todo-backend todo-backend=ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA} -n todo-test
- kubectl rollout status deployment/todo-backend -n todo-test - kubectl rollout status deployment/todo-backend -n todo-test
@@ -92,7 +92,7 @@ steps:
from_secret: registry_password from_secret: registry_password
- name: deploy-to-k8s - name: deploy-to-k8s
image: bitnami/kubectl:latest image: ccr.ccs.tencentyun.com/violin/kubectl:latest
commands: commands:
- kubectl set image deployment/todo-backend todo-backend=ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA} -n todo-prod - kubectl set image deployment/todo-backend todo-backend=ccr.ccs.tencentyun.com/violin/todo-backend:${DRONE_COMMIT_SHA} -n todo-prod
- kubectl rollout status deployment/todo-backend -n todo-prod - kubectl rollout status deployment/todo-backend -n todo-prod