Use violin namespace for images

This commit is contained in:
Agent
2026-03-20 15:32:52 +00:00
parent 4df7cdc9c6
commit fab2216538

View File

@@ -31,7 +31,7 @@ steps:
- name: build-image
image: plugins/docker
settings:
repo: ccr.ccs.tencentyun.com/todo-test/todo-frontend
repo: ccr.ccs.tencentyun.com/violin/todo-frontend
tags:
- {{ DRONE_COMMIT_SHA }}
- latest
@@ -43,7 +43,7 @@ steps:
- name: deploy-to-k8s
image: bitnami/kubectl:latest
commands:
- kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/todo-test/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
environment:
KUBECONFIG:
@@ -92,7 +92,7 @@ steps:
- name: build-image
image: plugins/docker
settings:
repo: ccr.ccs.tencentyun.com/todo-prod/todo-frontend
repo: ccr.ccs.tencentyun.com/violin/todo-frontend
tags:
- {{ DRONE_COMMIT_SHA }}
- v1.0.0
@@ -104,7 +104,7 @@ steps:
- name: deploy-to-k8s
image: bitnami/kubectl:latest
commands:
- kubectl set image deployment/todo-frontend todo-frontend=ccr.ccs.tencentyun.com/todo-prod/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
environment:
KUBECONFIG: