Update to go 1.20

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
This commit is contained in:
James Hewitt 2023-08-27 10:17:46 +01:00
parent 293b588075
commit 0eb8fee87e
No known key found for this signature in database
GPG key ID: EA6C3C654B6193E4
6 changed files with 7 additions and 7 deletions

View file

@ -26,8 +26,8 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
go: go:
- 1.18 - 1.20.7
- 1.19.10 - 1.21
steps: steps:
- -
name: Checkout name: Checkout

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.20.7
ARG ALPINE_VERSION=3.18 ARG ALPINE_VERSION=3.18
ARG XX_VERSION=1.2.1 ARG XX_VERSION=1.2.1

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.20.7
ARG ALPINE_VERSION=3.18 ARG ALPINE_VERSION=3.18
FROM alpine:${ALPINE_VERSION} AS base FROM alpine:${ALPINE_VERSION} AS base

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.20.7
ARG ALPINE_VERSION=3.18 ARG ALPINE_VERSION=3.18
ARG GOLANGCI_LINT_VERSION=v1.52 ARG GOLANGCI_LINT_VERSION=v1.52
ARG BUILDTAGS="include_gcs" ARG BUILDTAGS="include_gcs"

View file

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
ARG GO_VERSION=1.19.10 ARG GO_VERSION=1.20.7
ARG ALPINE_VERSION=3.18 ARG ALPINE_VERSION=3.18
ARG MODOUTDATED_VERSION=v0.8.0 ARG MODOUTDATED_VERSION=v0.8.0

2
go.mod
View file

@ -1,6 +1,6 @@
module github.com/distribution/distribution/v3 module github.com/distribution/distribution/v3
go 1.18 go 1.20
require ( require (
cloud.google.com/go/storage v1.30.1 cloud.google.com/go/storage v1.30.1