https://github.com/tvb-sz/cloud-build-notify
10K+
google cloud build CI notify / 仅支持MarkDown格式消息推送
source file at https://github.com/tvb-sz/cloud-build-notify
因google cloud run机器IP并不是固定的,钉钉通知通过签名形式验签
notify dingTalk --token=xxxx --secret=xxxx --title=xxx --content=xxxx
steps:
- name: 'nmgsz/cloud-build-notify'
args: [
'dingTalk',
'--token',
'${_DING_TOKEN}',
'--secret',
'${_DING_SECRET}',
'--title',
'deploy ${_ENV} success',
'--content',
'## panic \n> Account: test \n> Msg: message \n'
]
--token、--secret示意图
notify feiShu --token=xxxx --secret=xxxx --title=xxx --content=xxxx
steps:
- name: 'nmgsz/cloud-build-notify'
args: [
'feiShu',
'--token',
'${_DING_TOKEN}',
'--secret',
'${_DING_SECRET}',
'--title',
'deploy ${_ENV} success',
'--content',
'## panic \n> Account: test \n> Msg: message \n'
]
--token、--secret示意图
Content type
Image
Digest
sha256:56f9d510d…
Size
6.7 MB
Last updated
over 1 year ago
docker pull nmgsz/cloud-build-notify