Skip to content

Commit

Permalink
fix: use right annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishab Prasad committed Sep 9, 2024
1 parent ac42167 commit 4320db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .tekton/fms-hf-tuning-patch-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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:
Expand Down

0 comments on commit 4320db8

Please sign in to comment.