Skip to content

Commit

Permalink
Defining and using target_release as additional tag. (i.e. x.y.z)
Browse files Browse the repository at this point in the history
  • Loading branch information
abellotti committed Nov 6, 2024
1 parent 41933e5 commit aab2ba8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .tekton/rhproxy-engine-container-release-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ spec:
value: '{{revision}}'
- name: output-image
value: quay.io/redhat-user-workloads/insights-proxy-ipp-tenant/rhproxy-engine-container:{{revision}}
- name: target_release
value: '$(target_branch.split("/").last())'
- name: image-expires-after
value: 5d
- name: dockerfile
Expand Down Expand Up @@ -418,7 +420,7 @@ spec:
- name: IMAGE
value: $(tasks.build-image-index.results.IMAGE_URL)
- name: ADDITIONAL_TAGS
value: ["{{target_branch}}"]
value: ["$(params.target_release)"]
runAfter:
- build-image-index
taskRef:
Expand Down

0 comments on commit aab2ba8

Please sign in to comment.