Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 895 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 895 Bytes

keel-webhook-action

Sends a webhook notification to a Keel instance on Kubernetes.

Usage

Retagging a Github sha tag to latest.

- name: Notify Kube Cluster about changes
  uses: vitracash/[email protected]
  with:
    name: '["vitracash/service1", "vitracash/service2"]'
    tag: '["latest", "staging"]'
    keel_webhook_url: https://keel.somedomain.com/v1/webhooks/native
    keel_webhook_auth_username: ${{ secrets.KEEL_WEBHOOK_AUTH_USERNAME }}
    keel_webhook_auth_password: ${{ secrets.KEEL_WEBHOOK_AUTH_PASSWORD }}

Auth is optional and is used to create HTTP Basic Auth Headers if your Keel installation used basic auth.

Every tag will be combined with every name. Alternatively you can also provide only the name variable with the tags included:

name: '["vitracash/service1:latest", "vitracash/service2:staging"]'

The tag variable is optional.