Compare commits

..

No commits in common. "master" and "v0.0.2" have entirely different histories.

2 changed files with 4 additions and 19 deletions

View File

@ -64,29 +64,15 @@ 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: guoxudongdocker/drone-dingtalk
image: lddsb/drone-dingtalk-message
settings:
token: e53b19defd95a6f27ca766051b3ba047328760b0bbcd7c9fb6e74bc33635eb07
type: markdown
message_color: true
message_pic: true
sha_link: true
secret: SECad13514bd7dee3fa73eeec19c32cfa2495a0f94976162f8534af956be30870e4
debug: false
when:
status: [ failure, success ]
status: [failure, success]
volumes:
- name: outdir
host:

View File

@ -47,5 +47,4 @@ 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