Compare commits

..

4 Commits

Author SHA1 Message Date
giaogiao 4f511cd99a 测试drone runner节点能否运行
continuous-integration/drone/push Build is failing Details
2023-11-21 17:02:02 +08:00
giaogiao 6f4439ece2 🐎 ci(drone.yaml): 修改drone ci钉钉通知插件
从lddsb/drone-dingtalk-message修改为guoxudongdocker/drone-dingtalk docker镜像通知
2023-11-21 16:53:07 +08:00
giaogiao 1699d455b5 前端更新 触发重新打包
continuous-integration/drone/push Build is passing Details
2023-09-27 17:25:02 +08:00
giaogiao 7b9d006142 修改钉钉通知
continuous-integration/drone/push Build is passing Details
2023-09-26 11:06:51 +08:00
2 changed files with 19 additions and 4 deletions

View File

@ -64,15 +64,29 @@ steps:
event: push
branch: master
# - name: 钉钉通知
# image: lddsb/drone-dingtalk-message
# settings:
# token: e53b19defd95a6f27ca766051b3ba047328760b0bbcd7c9fb6e74bc33635eb07
# type: markdown
# secret: SECad13514bd7dee3fa73eeec19c32cfa2495a0f94976162f8534af956be30870e4
# message_pic: true
# message_color: true
# debug: false
# when:
# status: [failure, success]
- name: 钉钉通知
image: lddsb/drone-dingtalk-message
image: guoxudongdocker/drone-dingtalk
settings:
token: e53b19defd95a6f27ca766051b3ba047328760b0bbcd7c9fb6e74bc33635eb07
type: markdown
secret: SECad13514bd7dee3fa73eeec19c32cfa2495a0f94976162f8534af956be30870e4
debug: false
message_color: true
message_pic: true
sha_link: true
when:
status: [failure, success]
status: [ failure, success ]
volumes:
- name: outdir
host:

View File

@ -47,4 +47,5 @@ do
# CGO_ENABLED=0 GOOS=${array[0]} GOARCH=${array[1]} go build -o /root/web/${array[0]}_${array[1]}_main${extension}
CGO_ENABLED=1 GOOS=${array[0]} GOARCH=${array[1]} go build -ldflags "-linkmode external -extldflags '-static' -s -w" -o ${array[0]}_${array[1]}_main${extension}
cp ${array[0]}_${array[1]}_main${extension} /root/web/
done