From 96904fe7c5bbb8c46096eba2ca949e639e23ae4a Mon Sep 17 00:00:00 2001 From: Umputun Date: Mon, 27 Feb 2023 14:43:41 -0600 Subject: [PATCH] switch to go v1.20 --- .github/workflows/ci.yml | 4 ++-- Dockerfile | 4 ++-- go.mod | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 79d1ace..db92b8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,10 +11,10 @@ jobs: runs-on: ubuntu-latest steps: - - name: set up go 1.19 + - name: set up go 1.20 uses: actions/setup-go@v3 with: - go-version: 1.19 + go-version: "1.20" id: go - name: checkout diff --git a/Dockerfile b/Dockerfile index eab6646..77d47a9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine as backend +FROM golang:1.20-alpine as backend ARG GIT_BRANCH ARG GITHUB_SHA @@ -20,7 +20,7 @@ RUN \ cd app && go build -o /build/reproxy -ldflags "-X main.revision=${version} -s -w" -FROM ghcr.io/umputun/baseimage/app:v1.6.1 as base +FROM ghcr.io/umputun/baseimage/app:v1.11.0 as base FROM scratch ENV REPROXY_IN_DOCKER=1 diff --git a/go.mod b/go.mod index cc58ac0..4a75952 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/umputun/reproxy -go 1.19 +go 1.20 require ( github.com/cespare/xxhash/v2 v2.2.0 // indirect