This repository was archived by the owner on May 24, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -189,8 +189,7 @@ jobs:
189
189
continue-on-error : true
190
190
with :
191
191
image-ref : nginx/nginx-ingress-operator:${{ steps.meta.outputs.version }}
192
- format : ' template'
193
- template : ' @/contrib/sarif.tpl'
192
+ format : ' sarif'
194
193
output : ' trivy-results.sarif'
195
194
ignore-unfixed : ' true'
196
195
- name : Upload Trivy scan results to GitHub Security tab
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ COPY controllers/ controllers/
19
19
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-s -w -X main.version=${VERSION}" -a -o manager main.go
20
20
21
21
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest as base
22
+ # temporary fix for CVE-2022-24407
23
+ RUN microdnf --nodocs upgrade -y cyrus-sasl-lib
22
24
ARG VERSION
23
25
WORKDIR /
24
26
COPY config/crd/kic ./config/crd/kic
Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ run: manifests generate fmt vet ## Run a controller from your host.
118
118
119
119
.PHONY : docker-build
120
120
docker-build : test # # Build docker image with the manager.
121
- docker build -t ${IMG} -f ${DOCKERFILE} . --build-arg VERSION=${VERSION} --target local
121
+ docker build -t ${IMG} . --build-arg VERSION=${VERSION} --target local
122
122
123
123
.PHONY : docker-push
124
124
docker-push : # # Push docker image with the manager.
You can’t perform that action at this time.
0 commit comments