Use private kubectl image

This commit is contained in:
Agent
2026-03-20 16:17:45 +00:00
parent 48ffb2ae79
commit 09377de909

View File

@@ -41,7 +41,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-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-test - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-test
- kubectl rollout status deployment/todo-frontend -n todo-test - kubectl rollout status deployment/todo-frontend -n todo-test
@@ -102,7 +102,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-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-prod - kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/violin/todo-frontend:${DRONE_COMMIT_SHA} -n todo-prod
- kubectl rollout status deployment/todo-frontend -n todo-prod - kubectl rollout status deployment/todo-frontend -n todo-prod