Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
giaogiao | 4f511cd99a | |
giaogiao | 6f4439ece2 | |
giaogiao | 1699d455b5 | |
giaogiao | 7b9d006142 |
22
.drone.yml
22
.drone.yml
|
@ -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:
|
||||
|
|
1
bulid.sh
1
bulid.sh
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue