From 5f47af88e7660c848c43d9c042ae9a0e03262e77 Mon Sep 17 00:00:00 2001 From: Lucas Fraguas Date: Tue, 9 Jan 2024 11:07:56 -0300 Subject: [PATCH] Rollback Go version to 1.19 --- .github/workflows/ci.yaml | 4 ++-- Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d151b35d..96ecf016 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,10 +52,10 @@ jobs: uses: vazco/github-actions-branch-name@v1 id: branch - - name: Set up Go 1.21 + - name: Set up Go 1.19 uses: actions/setup-go@v4 with: - go-version: 1.21.x + go-version: 1.19.x id: go - name: Downloads golang mods diff --git a/Dockerfile b/Dockerfile index fe830425..75653957 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG RUNTIME_IMAGE=alpine:3.19 # cache sharing of the go mod download step. # Go cross compilation is also faster than emulation the go compilation across # multiple platforms. -FROM --platform=${BUILDPLATFORM} golang:1.21 AS builder +FROM --platform=${BUILDPLATFORM} golang:1.19-buster AS builder # Copy sources WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy