diff --git a/Dockerfile b/Dockerfile index 4076dc9..568670d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21-alpine AS build +FROM golang:1.23-alpine AS build RUN apk add --no-cache git WORKDIR /src COPY go.mod go.sum ./ diff --git a/cmd/redirector/go.mod b/cmd/redirector/go.mod index 24d0026..4b66d71 100644 --- a/cmd/redirector/go.mod +++ b/cmd/redirector/go.mod @@ -2,4 +2,4 @@ module redirector go 1.12 -require github.com/pkg/errors v0.8.1 +require github.com/pkg/errors v0.9.1 diff --git a/cmd/redirector/go.sum b/cmd/redirector/go.sum index f29ab35..7c401c3 100644 --- a/cmd/redirector/go.sum +++ b/cmd/redirector/go.sum @@ -1,2 +1,2 @@ -github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= -github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= +github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= +github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= diff --git a/go.mod b/go.mod index d04836b..802c143 100644 --- a/go.mod +++ b/go.mod @@ -2,16 +2,16 @@ module github.com/GoogleCloudPlatform/cloud-run-button go 1.21 -toolchain go1.21.0 +toolchain go1.23.4 require ( - cloud.google.com/go/artifactregistry v1.15.0 - cloud.google.com/go/compute/metadata v0.5.0 - github.com/AlecAivazis/survey/v2 v2.0.7 - github.com/briandowns/spinner v1.9.0 - github.com/fatih/color v1.15.0 - google.golang.org/api v0.193.0 - google.golang.org/grpc v1.65.0 + cloud.google.com/go/artifactregistry v1.16.0 + cloud.google.com/go/compute/metadata v0.6.0 + github.com/AlecAivazis/survey/v2 v2.3.7 + github.com/briandowns/spinner v1.23.1 + github.com/fatih/color v1.18.0 + google.golang.org/api v0.214.0 + google.golang.org/grpc v1.69.2 ) require (