File tree Expand file tree Collapse file tree 4 files changed +11477
-359
lines changed Expand file tree Collapse file tree 4 files changed +11477
-359
lines changed Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ spec:
206206 workspace : git-auth
207207 - name : netrc
208208 workspace : netrc
209- - matrix :
209+ - matrix :
210210 params :
211211 - name : PLATFORM
212212 value :
@@ -341,7 +341,7 @@ spec:
341341 operator : in
342342 values :
343343 - " false"
344- - matrix :
344+ - matrix :
345345 params :
346346 - name : image-platform
347347 value :
@@ -388,7 +388,7 @@ spec:
388388 operator : in
389389 values :
390390 - " false"
391- - matrix :
391+ matrix :
392392 params :
393393 - name : platform
394394 value :
@@ -441,7 +441,7 @@ spec:
441441 operator : in
442442 values :
443443 - " false"
444- - matrix :
444+ matrix :
445445 params :
446446 - name : image-arch
447447 value :
@@ -572,8 +572,8 @@ spec:
572572 value : $(tasks.build-image-index.results.IMAGE_DIGEST)
573573 - name : ADDITIONAL_TAGS
574574 value :
575- - " v7.1"
576- - " {{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
575+ - " v7.1"
576+ - " {{target_branch}}-$(tasks.clone-repository.results.commit-timestamp)"
577577 runAfter :
578578 - build-image-index
579579 taskRef :
Original file line number Diff line number Diff line change @@ -7,10 +7,7 @@ COPY snmp_notifier snmp_notifier
77
88WORKDIR snmp_notifier
99
10- # The base image has glibc-langpack-en which causes issues with glibc-static installation.
11- # So removing it will resolve the issue in the hermetic build
12- RUN dnf remove -y glibc-langpack-en \
13- && dnf install -y glibc glibc-devel glibc-static
10+ RUN dnf install -y glibc-static
1411
1512# Build the binary
1613RUN GOOS=${TARGETOS} GOARCH=${TARGETARCH} go build -mod=readonly \
Original file line number Diff line number Diff line change @@ -10,7 +10,13 @@ arches:
1010 - ppc64le
1111 - s390x
1212
13+ context :
14+ containerfile :
15+ file : Dockerfile
16+ stageName : builder
17+
1318packages :
1419 - glibc-static
1520
16- allowerasing : true
21+ reinstallPackages :
22+ - ' *'
You can’t perform that action at this time.
0 commit comments