Skip to content

Commit 9e92c70

Browse files
andrewschoenbigjust
authored andcommitted
konflux: add additional tags
Signed-off-by: Andrew Schoen <aschoen@ibm.com>
1 parent 53c051e commit 9e92c70

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.tekton/keepalived-5-3-pull-request.yaml

Lines changed: 7 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-dev/keepalived:on-pr-{{revision}}
27+
value: quay.io/rhceph-dev/keepalived:on-pr-v5.3-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
@@ -556,6 +556,12 @@ spec:
556556
value: $(tasks.build-image-index.results.IMAGE_URL)
557557
- name: IMAGE_DIGEST
558558
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
559+
- name: ADDITIONAL_TAGS
560+
value:
561+
- "v5.3"
562+
- "pull-request-{{pull_request_number}}"
563+
- "from-branch-{{source_branch}}"
564+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
559565
runAfter:
560566
- build-image-index
561567
taskRef:

.tekton/keepalived-5-3-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-dev/keepalived:{{revision}}
26+
value: quay.io/rhceph-dev/keepalived:v5.3-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
@@ -553,6 +553,10 @@ spec:
553553
value: $(tasks.build-image-index.results.IMAGE_URL)
554554
- name: IMAGE_DIGEST
555555
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
556+
- name: ADDITIONAL_TAGS
557+
value:
558+
- "v5.3"
559+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
556560
runAfter:
557561
- build-image-index
558562
taskRef:

0 commit comments

Comments
 (0)