bump go to 1.21 (#26608)

Co-authored-by: Giteabot <teabot@gitea.io>
pull/26607/head^2
techknowlogick 1 year ago committed by GitHub
parent 9c80a5d508
commit 653e77fd22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Dockerfile
  2. 2
      Dockerfile.rootless
  3. 2
      Makefile

@ -1,5 +1,5 @@
#Build stage #Build stage
FROM docker.io/library/golang:1.20-alpine3.18 AS build-env FROM docker.io/library/golang:1.21-alpine3.18 AS build-env
ARG GOPROXY ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct} ENV GOPROXY ${GOPROXY:-direct}

@ -1,5 +1,5 @@
#Build stage #Build stage
FROM docker.io/library/golang:1.20-alpine3.18 AS build-env FROM docker.io/library/golang:1.21-alpine3.18 AS build-env
ARG GOPROXY ARG GOPROXY
ENV GOPROXY ${GOPROXY:-direct} ENV GOPROXY ${GOPROXY:-direct}

@ -23,7 +23,7 @@ SHASUM ?= shasum -a 256
HAS_GO := $(shell hash $(GO) > /dev/null 2>&1 && echo yes) HAS_GO := $(shell hash $(GO) > /dev/null 2>&1 && echo yes)
COMMA := , COMMA := ,
XGO_VERSION := go-1.20.x XGO_VERSION := go-1.21.x
AIR_PACKAGE ?= github.com/cosmtrek/air@v1.44.0 AIR_PACKAGE ?= github.com/cosmtrek/air@v1.44.0
EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@2.7.0 EDITORCONFIG_CHECKER_PACKAGE ?= github.com/editorconfig-checker/editorconfig-checker/cmd/editorconfig-checker@2.7.0

Loading…
Cancel
Save