19 lines
420 B
YAML

apiVersion: triggers.tekton.dev/v1beta1
kind: EventListener
metadata:
name: imagebuild
spec:
serviceAccountName: tekton-robot
triggers:
- name: imagebuild-trigger
interceptors:
- ref:
name: "cel"
params:
- name: "filter"
value: "body.action != 'deleted'"
bindings:
- ref: imagebuild-binding
template:
ref: imagebuild-template