Use private kubectl image
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user