Skip to content

Commit 4240930

Browse files
andrewschoenbigjust
authored andcommitted
konflux: add additonal tags
Signed-off-by: Andrew Schoen <[email protected]>
1 parent 0660b9d commit 4240930

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.tekton/snmp-notifier-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/snmp-notifier:on-pr-{{revision}}
27+
value: quay.io/rhceph-dev/snmp-notifier: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/snmp-notifier-5-3-push.yaml

Lines changed: 6 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/snmp-notifier:{{revision}}
26+
value: quay.io/rhceph-dev/snmp-notifier:v5.3-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
@@ -553,6 +553,11 @@ 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+
- "from-branch-{{source_branch}}"
560+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
556561
runAfter:
557562
- build-image-index
558563
taskRef:

0 commit comments

Comments
 (0)