Use violin namespace for images
Some checks failed
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Agent
2026-03-20 15:32:19 +00:00
parent a9139f0388
commit 209bc304ba

View File

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