diff --git a/Dockerfile b/Dockerfile index acaa1f8..ebdb94b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Dockerfile -FROM golang:1.21.2 as base +FROM golang:1.22 as base RUN adduser \ --disabled-password \ diff --git a/go.mod b/go.mod index 53c0205..6aeed39 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,5 @@ module cbi-oi-kubecost-exporter -go 1.21 +go 1.22 -require github.com/caarlos0/env/v7 v7.1.0 +require github.com/caarlos0/env/v11 v11.1.0 diff --git a/go.sum b/go.sum index 0739989..d94410b 100644 --- a/go.sum +++ b/go.sum @@ -1,2 +1,2 @@ -github.com/caarlos0/env/v7 v7.1.0 h1:9lzTF5amyQeWHZzuZeKlCb5FWSUxpG1js43mhbY8ozg= -github.com/caarlos0/env/v7 v7.1.0/go.mod h1:LPPWniDUq4JaO6Q41vtlyikhMknqymCLBw0eX4dcH1E= +github.com/caarlos0/env/v11 v11.1.0 h1:a5qZqieE9ZfzdvbbdhTalRrHT5vu/4V1/ad1Ka6frhI= +github.com/caarlos0/env/v11 v11.1.0/go.mod h1:LwgkYk1kDvfGpHthrWWLof3Ny7PezzFwS4QrsJdHTMo= diff --git a/main.go b/main.go index d71f294..d7aed4d 100644 --- a/main.go +++ b/main.go @@ -20,7 +20,7 @@ import ( "strings" "time" - "github.com/caarlos0/env/v7" + "github.com/caarlos0/env/v11" ) type (