diff --git a/tool/codegen/Dockerfile b/tool/codegen/Dockerfile index 5a9c1290c2..587cd68cba 100644 --- a/tool/codegen/Dockerfile +++ b/tool/codegen/Dockerfile @@ -1,6 +1,6 @@ # Stage 1: Builder - Build Go-based plugins -FROM golang:1.25.2 AS builder +FROM golang:1.26.2 AS builder # Version configuration ARG PROTOC_GEN_GO_VER=1.27.1 @@ -75,7 +75,7 @@ RUN apt-get update \ # Copy Go runtime from golang image # mockgen uses 'go list' and 'go build' internally -COPY --from=golang:1.25.2 /usr/local/go /usr/local/go +COPY --from=golang:1.26.2 /usr/local/go /usr/local/go ENV GOROOT=/usr/local/go ENV GOPATH=/go ENV PATH=$GOPATH/bin:$GOROOT/bin:$PATH diff --git a/tool/codegen/protoc-gen-auth/go.mod b/tool/codegen/protoc-gen-auth/go.mod index 1b4caacfa3..1abbf51f6b 100644 --- a/tool/codegen/protoc-gen-auth/go.mod +++ b/tool/codegen/protoc-gen-auth/go.mod @@ -1,5 +1,5 @@ module github.com/pipe-cd/pipecd/tool/codegen/protoc-gen-auth -go 1.25.0 +go 1.26.2 require google.golang.org/protobuf v1.33.0