Compare commits
3 Commits
sync/xxxxx
..
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c32ce3b684 | |||
| 4676669ac6 | |||
| 931f7275d9 |
+2
-3
@@ -18,6 +18,7 @@ steps:
|
||||
repo: ccr.ccs.tencentyun.com/violin/violin-cv
|
||||
tags:
|
||||
- latest
|
||||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
registry: ccr.ccs.tencentyun.com
|
||||
@@ -28,7 +29,5 @@ steps:
|
||||
- name: prod-deploy
|
||||
image: ccr.ccs.tencentyun.com/violin/kubectl:latest
|
||||
cluster: kubernetes
|
||||
namespace: violin
|
||||
commands:
|
||||
- kubectl set image deployment/violin-cv cv=ccr.ccs.tencentyun.com/violin/violin-cv:latest
|
||||
- kubectl rollout status deployment/violin-cv
|
||||
- kubectl -n violin set image deployment/violin-cv cv=ccr.ccs.tencentyun.com/violin/violin-cv:${DRONE_COMMIT_SHA:0:8}
|
||||
|
||||
Reference in New Issue
Block a user