diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 88022540834cf30119790c6d9e9f60464bde112f..eec40c5a6295c875f0c52df07e04bc37fd8dbdea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,7 +16,7 @@ include: - template: 'Workflows/Branch-Pipelines.gitlab-ci.yml' lint: - image: golangci/golangci-lint:v1.50.0 + image: golangci/golangci-lint:v1.50.1 stage: test tags: - amd64-docker @@ -28,7 +28,7 @@ lint: - cd /go/src/gitlab.com/${CI_PROJECT_PATH} unit tests: - image: golang:1.19 + image: golang:1.19.3 extends: .gotest stage: test tags: @@ -36,7 +36,7 @@ unit tests: before_script: [] govulncheck: - image: golang:1.19 + image: golang:1.19.3 stage: test tags: - amd64-docker diff --git a/deployment/ci/Dockerfile b/deployment/ci/Dockerfile index cb67fc476b4b85019f22d593b7d1daba12d88c32..dbea56f40f2bc482fd25416e03ec7496cfdc1b0f 100644 --- a/deployment/ci/Dockerfile +++ b/deployment/ci/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine3.15 as builder +FROM golang:1.19.3-alpine3.15 as builder RUN apk add git diff --git a/deployment/compose/Dockerfile b/deployment/compose/Dockerfile index f5a086bb1b301b7d83d410a984dc15bed347cad2..5aa47444c83facc5e55b8ffab8d528c00747bcf4 100644 --- a/deployment/compose/Dockerfile +++ b/deployment/compose/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19 +FROM golang:1.19.3 ENV GO111MODULE=on diff --git a/internal/config/config.go b/internal/config/config.go index 3d7b2701fcc1e41d4d44db18b10fa34d555f1c3f..3a2c8eaa1f337663c6fd970f3cbcdb4554bb8e10 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -38,7 +38,7 @@ type metricsConfig struct { } type authConfig struct { - Enabled bool `envconfig:"AUTH_ENABLED" default:"true"` + Enabled bool `envconfig:"AUTH_ENABLED" default:"false"` JwkURL string `envconfig:"AUTH_JWK_URL"` RefreshInterval time.Duration `envconfig:"AUTH_REFRESH_INTERVAL" default:"1h"` }