From ffca6abc14ffa89295085429bf5962ac4331dc08 Mon Sep 17 00:00:00 2001 From: Matthieu Lamalle Date: Fri, 29 Mar 2024 11:26:19 +0100 Subject: [PATCH] correction ref revision --- kustomization/base/tekton/trigger/imagebuild-binding.yaml | 2 +- kustomization/base/tekton/trigger/msebuild-binding.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kustomization/base/tekton/trigger/imagebuild-binding.yaml b/kustomization/base/tekton/trigger/imagebuild-binding.yaml index 661227a..9f22434 100644 --- a/kustomization/base/tekton/trigger/imagebuild-binding.yaml +++ b/kustomization/base/tekton/trigger/imagebuild-binding.yaml @@ -7,7 +7,7 @@ spec: - name: url value: $(body.repository.clone_url) - name: revision - value: $(body.pull_request.head.ref) + value: $(body.pull_request.base.ref) - name: image value: $(body.repository.full_name) - name: tag diff --git a/kustomization/base/tekton/trigger/msebuild-binding.yaml b/kustomization/base/tekton/trigger/msebuild-binding.yaml index 698a125..7b66f48 100644 --- a/kustomization/base/tekton/trigger/msebuild-binding.yaml +++ b/kustomization/base/tekton/trigger/msebuild-binding.yaml @@ -7,7 +7,7 @@ spec: - name: url value: $(body.repository.clone_url) - name: revision - value: $(body.pull_request.head.ref) + value: $(body.pull_request.base.ref) - name: image value: $(body.repository.full_name) - name: apiurl