Skip to content

Commit

Permalink
Merge pull request #522 from helenhelen237/go-version
Browse files Browse the repository at this point in the history
Bump go version to 1.20.1 for prometheus-to-sd
  • Loading branch information
laoj2 authored Mar 1, 2023
2 parents a2c0e47 + f2cfd72 commit 846e485
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion prometheus-to-sd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM --platform=$BUILDPLATFORM golang:1.17-alpine as builder
FROM --platform=$BUILDPLATFORM golang:1.20.1 as builder
WORKDIR ${GOPATH}/src/github.com/GoogleCloudPlatform/k8s-stackdriver/prometheus-to-sd
COPY . ./

Expand Down
2 changes: 1 addition & 1 deletion prometheus-to-sd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ ENVVAR = GOOS=linux GOARCH=amd64 CGO_ENABLED=0
IMAGE_NAME=prometheus-to-sd
ALL_ARCH=amd64 arm64
PREFIX ?= staging-k8s.gcr.io
TAG ?= v0.11.5
TAG ?= v0.11.6

IMAGE=$(PREFIX)/$(IMAGE_NAME)

Expand Down
2 changes: 1 addition & 1 deletion prometheus-to-sd/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/GoogleCloudPlatform/k8s-stackdriver/prometheus-to-sd

go 1.17
go 1.20

require (
cloud.google.com/go v0.56.0
Expand Down

0 comments on commit 846e485

Please sign in to comment.