From 4320db8cebcce57b9e3dfb208da738422faff15c Mon Sep 17 00:00:00 2001 From: Rishab Prasad Date: Mon, 9 Sep 2024 23:07:47 +0530 Subject: [PATCH] fix: use right annotation --- .tekton/fms-hf-tuning-patch-push.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.tekton/fms-hf-tuning-patch-push.yaml b/.tekton/fms-hf-tuning-patch-push.yaml index 76fb7c6f8..0d9dc5b68 100644 --- a/.tekton/fms-hf-tuning-patch-push.yaml +++ b/.tekton/fms-hf-tuning-patch-push.yaml @@ -4,7 +4,7 @@ metadata: annotations: build.appstudio.openshift.io/repo: https://github.com/red-hat-data-services/fms-hf-tuning?rev={{revision}} build.appstudio.redhat.com/commit_sha: '{{revision}}' - build.appstudio.redhat.com/target_branch: "[refs/tags/*]" + build.appstudio.redhat.com/on-target-branch: "[refs/tags/*]" pipelinesascode.tekton.dev/on-event: "[push]" #pipelinesascode.tekton.dev/on-cel-expression: event == "push" pipelinesascode.tekton.dev/max-keep-runs: "3" @@ -22,7 +22,7 @@ spec: - name: revision value: '{{revision}}' - name: output-image - value: quay.io/redhat-user-workloads/rhoai-tenant/fms-hf-tuning/fms-hf-tuning-patch:{{target_branch}} + value: quay.io/redhat-user-workloads/rhoai-tenant/fms-hf-tuning/fms-hf-tuning-patch:{{revision}} - name: dockerfile value: build/Dockerfile pipelineSpec: