Sign inSign up

sinlov/drone-feishu-robot-oss

By sinlov

Updated about 2 years ago

Image
0

50K+

sinlov/drone-feishu-robot-oss repository overview

docker hub version semver docker hub image size docker hub image pulls

GitHub license codecov GitHub latest SemVer tag) github release

Pipeline Settings (.drone.yml)

1.x

  • notify-build-failure
steps:
  - name: notify-failure-feishu-robot
    # image: sinlov/drone-feishu-robot-oss:latest
    # pull: if-not-exists
    image: sinlov/drone-feishu-robot-oss:latest
    settings:
      # debug: true # plugin debug switch
      # ntp_target: "pool.ntp.org" # if not set will not sync
      # timeout_second: 10 # default 10
      feishu_webhook:
        # https://docs.drone.io/pipeline/environment/syntax/#from-secrets
        from_secret: feishu_group_bot_token
      feishu_secret:
        from_secret: feishu_group_secret_bot
      feishu_msg_title: "Drone CI Notification" # default [Drone CI Notification]
      # let notification card change more info see https://open.feishu.cn/document/ukTMukTMukTM/uAjNwUjLwYDM14CM2ATN
      feishu_enable_forward: true
      drone_system_admin_token: # non-essential parameter 1.5.0+
        from_secret: drone_system_admin_token
      # ignore last success by distance
      feishu_ignore_last_success_by_admin_token_distance: 1 # if distance is 0 will not ignore, use 1 will let notify build change to success
    when:
      event: # https://docs.drone.io/pipeline/exec/syntax/conditions/#by-event
        - promote
        - rollback
        - push
        - pull_request
        - tag
      status: # only support failure/success, both open will send anything
        - failure
        # - success

Tag summary

Content type

Image

Digest

sha256:6293e18ce

Size

7.1 MB

Last updated

about 2 years ago

docker pull sinlov/drone-feishu-robot-oss