Bump go libraries (#11023)
* Bump go libraries * Fix update codegen execution * Fix errors on klog * Fix gzip test * Bump libraries on webhook certgen * Fix webhook-certgen compilation
This commit is contained in:
parent
b4ea953cce
commit
fa0bf81984
16 changed files with 765 additions and 1245 deletions
|
|
@ -22,7 +22,7 @@ ARG TARGETARCH
|
|||
|
||||
WORKDIR /workspace
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -a -o kube-webhook-certgen main.go
|
||||
RUN go mod tidy && CGO_ENABLED=0 GOOS=linux GOARCH=${TARGETARCH} go build -a -o kube-webhook-certgen main.go
|
||||
|
||||
FROM --platform=$BUILDPLATFORM gcr.io/distroless/static:nonroot
|
||||
ARG BUILDPLATFORM
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue