27 lines
706 B
YAML

apiVersion: triggers.tekton.dev/v1beta1
kind: EventListener
metadata:
name: msebuild
spec:
serviceAccountName: tekton-robot
triggers:
- name: msebuild-trigger
interceptors:
- ref:
name: "cel"
params:
# Filtre par événement
- name: "filter"
value: "body.action != 'deleted'"
# Récupération du queryParam registry
- name: "overlays"
value:
- key: registry
expression: "requestURL.parseURL().query['registry']"
bindings:
- ref: msebuild-binding
- name: registry
value: $(extensions.registry)
template:
ref: msebuild-template