From 10dbc8dfcc5c0720bf896aab7601dd1a7523be57 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Tue, 1 Oct 2024 13:26:34 +0200 Subject: [PATCH] build only tagged images in Konflux --- .tekton/patchman-engine-push.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.tekton/patchman-engine-push.yaml b/.tekton/patchman-engine-push.yaml index e8f98bb8b..ce5a9cbd8 100644 --- a/.tekton/patchman-engine-push.yaml +++ b/.tekton/patchman-engine-push.yaml @@ -6,8 +6,7 @@ metadata: build.appstudio.redhat.com/commit_sha: '{{revision}}' build.appstudio.redhat.com/target_branch: '{{target_branch}}' pipelinesascode.tekton.dev/max-keep-runs: "3" - pipelinesascode.tekton.dev/on-cel-expression: event == "push" && target_branch - == "master" + pipelinesascode.tekton.dev/on-cel-expression: "event == 'push' && target_branch.startsWith('refs/tags/')" creationTimestamp: null labels: appstudio.openshift.io/application: insights-patch