File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,9 @@ spec:
294
294
- name : build-source-image
295
295
params :
296
296
- name : BINARY_IMAGE
297
- value : $(params.output-image)
297
+ value : $(tasks.build-image-index.results.IMAGE_URL)
298
+ - name : BINARY_IMAGE_DIGEST
299
+ value : $(tasks.build-image-index.results.IMAGE_DIGEST)
298
300
- name : SOURCE_ARTIFACT
299
301
value : $(tasks.prefetch-dependencies.results.SOURCE_ARTIFACT)
300
302
- name : CACHI2_ARTIFACT
@@ -617,9 +619,9 @@ spec:
617
619
- name : netrc
618
620
optional : true
619
621
taskRunTemplate :
620
- serviceAccountName : build-pipeline-snmp-notifier
622
+ serviceAccountName : build-pipeline-snmp-notifier-9-0
621
623
workspaces :
622
624
- name : git-auth
623
625
secret :
624
626
secretName : ' {{ git_auth_secret }}'
625
- status : {}
627
+ status : {}
Original file line number Diff line number Diff line change 1
1
# Build stage 1
2
2
3
3
# FROM openshift/golang-builder:rhel_9_golang_1.23 AS builder
4
- FROM quay.io/projectquay/golang:1.23 AS builder
4
+ FROM --platform=$BUILDPLATFORM quay.io/projectquay/golang:1.23 AS builder
5
5
6
6
COPY snmp_notifier snmp_notifier
7
7
@@ -22,7 +22,7 @@ RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -mod=readonly \
22
22
-a -tags netgo
23
23
24
24
# Build stage 2
25
- FROM registry.redhat.io/ubi9/ubi -minimal
25
+ FROM --platform=$BUILDPLATFORM registry.access. redhat.com/ubi10 -minimal:latest
26
26
27
27
# Update the image to get the latest CVE updates
28
28
RUN microdnf update -y && \
@@ -46,5 +46,4 @@ RUN chmod +x "$OPBIN"
46
46
47
47
EXPOSE 9464
48
48
ENTRYPOINT ["/usr/local/bin/snmp_notifier" ]
49
- CMD ["--snmp.trap-description-template=/etc/snmp_notifier/description-template.tpl" ]
50
-
49
+ CMD ["--snmp.trap-description-template=/etc/snmp_notifier/description-template.tpl" ]
You can’t perform that action at this time.
0 commit comments