diff --git a/.tekton/bootc-image-builder-push.yaml b/.tekton/bootc-image-builder-push.yaml index a69fcdf8..ba090955 100644 --- a/.tekton/bootc-image-builder-push.yaml +++ b/.tekton/bootc-image-builder-push.yaml @@ -7,8 +7,7 @@ metadata: 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 - == "main" + event == "push" && target_branch == "main" && files.all.exists(x,!x.startsWith(".tekton/")) creationTimestamp: null labels: appstudio.openshift.io/application: bootc-image-builder