Skip to content

Commit

Permalink
update to golang:1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed Feb 18, 2023
1 parent fc59548 commit f6a2148
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ services:

steps:
- name: start
image: "golang:1.19"
image: "golang:1.20"
pull: if-not-exists
commands:
- sleep 20
Expand Down Expand Up @@ -156,7 +156,7 @@ steps:
- start

- name: tests
image: "golang:1.19"
image: "golang:1.20"
pull: if-not-exists
environment:
GO111MODULE: on
Expand All @@ -175,7 +175,7 @@ steps:


- name: mixins
image: golang:1.19
image: golang:1.20
pull: if-not-exists
commands:
- make mixin
Expand All @@ -188,7 +188,7 @@ steps:


- name: coverage-codecov
image: golang:1.19
image: golang:1.20
pull: if-not-exists
environment:
CODECOV_TOKEN:
Expand All @@ -206,7 +206,7 @@ steps:


- name: coverage-coveralls
image: "golang:1.19"
image: "golang:1.20"
pull: if-not-exists
environment:
GO111MODULE: on
Expand All @@ -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
Expand All @@ -241,7 +241,7 @@ steps:


- name: build-all-binaries
image: "golang:1.19"
image: "golang:1.20"
pull: if-not-exists
environment:
GO111MODULE: on
Expand Down Expand Up @@ -606,7 +606,7 @@ steps:


- name: release-github-binaries
image: "golang:1.19"
image: "golang:1.20"
pull: if-not-exists
environment:
GITHUB_TOKEN:
Expand Down
2 changes: 1 addition & 1 deletion contrib/docker-compose-for-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit f6a2148

Please sign in to comment.