Use official docker repo
Some checks failed
continuous-integration/drone/push Build is failing
Build and Release / build (push) Has been cancelled

This commit is contained in:
Yaojia Wang
2026-03-22 17:38:51 +01:00
parent 4afe4aab1e
commit 080d508648
2 changed files with 5 additions and 16 deletions

View File

@@ -1,29 +1,18 @@
kind: pipeline
type: kubernetes
name: build-and-push
name: deploy
trigger:
branch:
- main
- develop
event:
- push
- custom
steps:
- name: build-and-push
image: gcr.io/kaniko-project/executor:debug
commands:
- >
/kaniko/executor
--context=/drone/src
--dockerfile=Dockerfile
--destination=192.168.68.11:30500/xiaohongshu-mcp:${DRONE_COMMIT_SHA:0:8}
--destination=192.168.68.11:30500/xiaohongshu-mcp:latest
--insecure
--skip-tls-verify
- name: restart-deployment
- name: deploy
image: bitnami/kubectl:latest
commands:
- kubectl apply -k k8s/base/
- kubectl rollout restart deploy/xiaohongshu-mcp -n xiaohongshu-mcp
- kubectl rollout status deploy/xiaohongshu-mcp -n xiaohongshu-mcp --timeout=120s

View File

@@ -17,7 +17,7 @@ spec:
spec:
containers:
- name: xiaohongshu-mcp
image: 192.168.68.11:30500/xiaohongshu-mcp:latest
image: xpzouying/xiaohongshu-mcp:latest
imagePullPolicy: Always
ports:
- containerPort: 18060