Skip to content

Instantly share code, notes, and snippets.

@kainlite
Created October 27, 2022 00:01
Show Gist options
  • Select an option

  • Save kainlite/c1f65d23f3132c5e7eb19a270e344e1c to your computer and use it in GitHub Desktop.

Select an option

Save kainlite/c1f65d23f3132c5e7eb19a270e344e1c to your computer and use it in GitHub Desktop.
apiVersion: triggers.tekton.dev/v1alpha1
kind: TriggerBinding
metadata:
name: clone-build-push-binding
namespace: tekton-pipelines
spec:
params:
- name: gitrepositoryurl
value: $(body.repository.clone_url)
- name: gitrevision
value: $(body.pull_request.head.sha)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment