nmgsz/cloud-build-notify
https://github.com/tvb-sz/cloud-build-notify
4.6K
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
示意图docker pull nmgsz/cloud-build-notify