git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #1851 from adriananeci/bump_go
d9a33dfJoel Speed
.github/workflows/ci.yaml+2−2
@@ -20,10 +20,10 @@ jobs:
20 - name: Check out code
20 - name: Check out code
21 uses: actions/checkout@v2
21 uses: actions/checkout@v2
22
22
23− - name: Set up Go 1.18
23+ - name: Set up Go 1.19
24 uses: actions/setup-go@v2
24 uses: actions/setup-go@v2
25 with:
25 with:
26− go-version: 1.18.x
26+ go-version: 1.19.x
27 id: go
27 id: go
28
28
29 - name: Get dependencies
29 - name: Get dependencies
CHANGELOG.md+1
@@ -39,6 +39,7 @@ to remain consistent with CLI flags. You should specify `code_challenge_method`
39- [#1825](https://github.com/oauth2-proxy/oauth2-proxy/pull/1825) Fix vulnerabilities CVE-2022-32149 and CVE-2022-27664. (@crbednarz)
39- [#1825](https://github.com/oauth2-proxy/oauth2-proxy/pull/1825) Fix vulnerabilities CVE-2022-32149 and CVE-2022-27664. (@crbednarz)
40- [#1750](https://github.com/oauth2-proxy/oauth2-proxy/pull/1750) Fix Nextcloud provider
40- [#1750](https://github.com/oauth2-proxy/oauth2-proxy/pull/1750) Fix Nextcloud provider
41- [#1574](https://github.com/oauth2-proxy/oauth2-proxy/pull/1574) Add Azure groups support and Azure OAuth v2.0 (@adriananeci)
41- [#1574](https://github.com/oauth2-proxy/oauth2-proxy/pull/1574) Add Azure groups support and Azure OAuth v2.0 (@adriananeci)
42+- [#1851](https://github.com/oauth2-proxy/oauth2-proxy/pull/1851) Bump golang to 1.19 and min allowed version to 1.18
42
43
43# V7.3.0
44# V7.3.0
44
45
Dockerfile+1−1
@@ -5,7 +5,7 @@ ARG RUNTIME_IMAGE=alpine:3.16
5# cache sharing of the go mod download step.
5# cache sharing of the go mod download step.
6# Go cross compilation is also faster than emulation the go compilation across
6# Go cross compilation is also faster than emulation the go compilation across
7# multiple platforms.
7# multiple platforms.
8−FROM --platform=${BUILDPLATFORM} golang:1.18-buster AS builder
8+FROM --platform=${BUILDPLATFORM} golang:1.19-buster AS builder
9
9
10# Copy sources
10# Copy sources
11WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy
11WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy
Makefile+1−1
@@ -10,7 +10,7 @@ REGISTRY ?= quay.io/oauth2-proxy
10GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
10GO_MAJOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f1)
11GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
11GO_MINOR_VERSION = $(shell $(GO) version | cut -c 14- | cut -d' ' -f1 | cut -d'.' -f2)
12MINIMUM_SUPPORTED_GO_MAJOR_VERSION = 1
12MINIMUM_SUPPORTED_GO_MAJOR_VERSION = 1
13−MINIMUM_SUPPORTED_GO_MINOR_VERSION = 15
13+MINIMUM_SUPPORTED_GO_MINOR_VERSION = 18
14GO_VERSION_VALIDATION_ERR_MSG = Golang version is not supported, please update to at least $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION).$(MINIMUM_SUPPORTED_GO_MINOR_VERSION)
14GO_VERSION_VALIDATION_ERR_MSG = Golang version is not supported, please update to at least $(MINIMUM_SUPPORTED_GO_MAJOR_VERSION).$(MINIMUM_SUPPORTED_GO_MINOR_VERSION)
15
15
16ifeq ($(COVER),true)
16ifeq ($(COVER),true)