Skip to content

Commit c76391e

Browse files
Sachin-Yeshwanthandrewschoen
authored andcommitted
Konflux 9.0: added additional tagging
1 parent 6ef0d18 commit c76391e

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.tekton/haproxy-9-0-pull-request.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
- name: revision
2525
value: '{{revision}}'
2626
- name: output-image
27-
value: quay.io/rhceph-ci/haproxy:on-pr-{{revision}}
27+
value: quay.io/rhceph-ci/haproxy:on-pr-v9.0-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
@@ -555,6 +555,11 @@ spec:
555555
value: $(tasks.build-image-index.results.IMAGE_URL)
556556
- name: IMAGE_DIGEST
557557
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
558+
- name: ADDITIONAL_TAGS
559+
value:
560+
- "pull-request-{{pull_request_number}}"
561+
- "from-branch-{{source_branch}}"
562+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
558563
runAfter:
559564
- build-image-index
560565
taskRef:

.tekton/haproxy-9-0-push.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
- name: revision
2424
value: '{{revision}}'
2525
- name: output-image
26-
value: quay.io/rhceph-ci/haproxy:{{revision}}
26+
value: quay.io/rhceph-ci/haproxy:v9.0-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
@@ -552,6 +552,10 @@ spec:
552552
value: $(tasks.build-image-index.results.IMAGE_URL)
553553
- name: IMAGE_DIGEST
554554
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
555+
- name: ADDITIONAL_TAGS
556+
value:
557+
- "v9.0"
558+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
555559
runAfter:
556560
- build-image-index
557561
taskRef:

0 commit comments

Comments
 (0)