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 kind: pipeline
type: kubernetes type: kubernetes
name: build-and-push name: deploy
trigger: trigger:
branch: branch:
- main - main
- develop
event: event:
- push - push
- custom - custom
steps: steps:
- name: build-and-push - name: deploy
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
image: bitnami/kubectl:latest image: bitnami/kubectl:latest
commands: commands:
- kubectl apply -k k8s/base/
- kubectl rollout restart deploy/xiaohongshu-mcp -n xiaohongshu-mcp - 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: spec:
containers: containers:
- name: xiaohongshu-mcp - name: xiaohongshu-mcp
image: 192.168.68.11:30500/xiaohongshu-mcp:latest image: xpzouying/xiaohongshu-mcp:latest
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- containerPort: 18060 - containerPort: 18060