diff --git a/.drone.yml b/.drone.yml index 61c0723c..67541434 100644 --- a/.drone.yml +++ b/.drone.yml @@ -83,7 +83,7 @@ services: steps: - name: start - image: "golang:1.19" + image: "golang:1.20" pull: if-not-exists commands: - sleep 20 @@ -156,7 +156,7 @@ steps: - start - name: tests - image: "golang:1.19" + image: "golang:1.20" pull: if-not-exists environment: GO111MODULE: on @@ -175,7 +175,7 @@ steps: - name: mixins - image: golang:1.19 + image: golang:1.20 pull: if-not-exists commands: - make mixin @@ -188,7 +188,7 @@ steps: - name: coverage-codecov - image: golang:1.19 + image: golang:1.20 pull: if-not-exists environment: CODECOV_TOKEN: @@ -206,7 +206,7 @@ steps: - name: coverage-coveralls - image: "golang:1.19" + image: "golang:1.20" pull: if-not-exists environment: GO111MODULE: on @@ -224,7 +224,7 @@ steps: - tests - name: build-some-amd64-binaries - image: "golang:1.19" + image: "golang:1.20" pull: if-not-exists environment: GO111MODULE: on @@ -241,7 +241,7 @@ steps: - name: build-all-binaries - image: "golang:1.19" + image: "golang:1.20" pull: if-not-exists environment: GO111MODULE: on @@ -606,7 +606,7 @@ steps: - name: release-github-binaries - image: "golang:1.19" + image: "golang:1.20" pull: if-not-exists environment: GITHUB_TOKEN: diff --git a/contrib/docker-compose-for-tests.yml b/contrib/docker-compose-for-tests.yml index d0f1b9d8..ebc2d4fd 100644 --- a/contrib/docker-compose-for-tests.yml +++ b/contrib/docker-compose-for-tests.yml @@ -67,7 +67,7 @@ services: tests: - image: golang:1.19 + image: golang:1.20 working_dir: /go/src/github.com/oliver006/redis_exporter volumes: - ..:/go/src/github.com/oliver006/redis_exporter diff --git a/docker/Dockerfile b/docker/Dockerfile index 508a800c..0817e351 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,7 +2,7 @@ ARG GOARCH # # build container # -FROM --platform=linux/amd64 golang:1.19-alpine as builder +FROM --platform=linux/amd64 golang:1.20-alpine as builder WORKDIR /go/src/github.com/oliver006/redis_exporter/ ADD . /go/src/github.com/oliver006/redis_exporter/