Skip to content

Commit 08b1ee7

Browse files
Sachin-Yeshwanthandrewschoen
authored andcommitted
8.1: change rhceph-dev to rhceph-ci and add additional tags
1 parent ffbe4a9 commit 08b1ee7

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.tekton/snmp-notifier-8-1-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-dev/snmp-notifier:on-pr-{{revision}}
27+
value: quay.io/rhceph-ci/snmp-notifier:on-pr-v8.1-{{revision}}
2828
- name: image-expires-after
2929
value: 5d
3030
- name: build-platforms
@@ -557,6 +557,11 @@ spec:
557557
value: $(tasks.build-image-index.results.IMAGE_URL)
558558
- name: IMAGE_DIGEST
559559
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
560+
- name: ADDITIONAL_TAGS
561+
value:
562+
- "pull-request-{{pull_request_number}}"
563+
- "from-branch-{{source_branch}}"
564+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
560565
runAfter:
561566
- build-image-index
562567
taskRef:

.tekton/snmp-notifier-8-1-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/snmp-notifier:{{revision}}
26+
value: quay.io/rhceph-ci/snmp-notifier:v8.1-{{revision}}
2727
- name: build-platforms
2828
value:
2929
- linux/x86_64
@@ -554,6 +554,10 @@ spec:
554554
value: $(tasks.build-image-index.results.IMAGE_URL)
555555
- name: IMAGE_DIGEST
556556
value: $(tasks.build-image-index.results.IMAGE_DIGEST)
557+
- name: ADDITIONAL_TAGS
558+
value:
559+
- "v8.1"
560+
- "{{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
557561
runAfter:
558562
- build-image-index
559563
taskRef:

0 commit comments

Comments
 (0)