adjust drone config
continuous-integration/drone/push Build is passing

This commit is contained in:
jianxin committed 2024-01-17 08:44:07 +08:00
1 parent b8da601b16
commit 59ef33a1f5
1 file changed
+7 -3
+7 -3
View File
@@ -18,13 +18,15 @@ steps:
password:
from_secret: registry_password
tags: latest
repo: registry.woni.link/woni/office-xbot-feishu
registry: registry.woni.link
insecure: true
repo: registry.woni.io/woni/office-xbot-feishu
registry: registry.woni.io
mirror: https://5c492fmo.mirror.aliyuncs.com
dockerfile: ./Dockerfile
- name: scp
image: appleboy/drone-scp
pull: never
settings:
host:
from_secret: ssh_host
@@ -39,6 +41,7 @@ steps:
- name: deploy
image: appleboy/drone-ssh
pull: never
settings:
host:
from_secret: ssh_host
@@ -57,8 +60,9 @@ steps:
- docker compose pull office-xbot-feishu
- docker compose --env-file .env up -d
- name: feishu notification
- name: feishu
image: keepchen/drone-feishu
pull: never
settings:
token:
from_secret: feishu_token