From 0eb8fee87ecac7b7436c936c853f39c8f5eb9fb0 Mon Sep 17 00:00:00 2001 From: James Hewitt Date: Sun, 27 Aug 2023 10:17:46 +0100 Subject: [PATCH] Update to go 1.20 Signed-off-by: James Hewitt --- .github/workflows/build.yml | 4 ++-- Dockerfile | 2 +- dockerfiles/git.Dockerfile | 2 +- dockerfiles/lint.Dockerfile | 2 +- dockerfiles/vendor.Dockerfile | 2 +- go.mod | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bede5814..a5bfbf78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,8 +26,8 @@ jobs: fail-fast: false matrix: go: - - 1.18 - - 1.19.10 + - 1.20.7 + - 1.21 steps: - name: Checkout diff --git a/Dockerfile b/Dockerfile index 13c2ec29..2ec7b5ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.19.10 +ARG GO_VERSION=1.20.7 ARG ALPINE_VERSION=3.18 ARG XX_VERSION=1.2.1 diff --git a/dockerfiles/git.Dockerfile b/dockerfiles/git.Dockerfile index 47cab54e..09d9116b 100644 --- a/dockerfiles/git.Dockerfile +++ b/dockerfiles/git.Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.19.10 +ARG GO_VERSION=1.20.7 ARG ALPINE_VERSION=3.18 FROM alpine:${ALPINE_VERSION} AS base diff --git a/dockerfiles/lint.Dockerfile b/dockerfiles/lint.Dockerfile index f69ad37f..613f3801 100644 --- a/dockerfiles/lint.Dockerfile +++ b/dockerfiles/lint.Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.19.10 +ARG GO_VERSION=1.20.7 ARG ALPINE_VERSION=3.18 ARG GOLANGCI_LINT_VERSION=v1.52 ARG BUILDTAGS="include_gcs" diff --git a/dockerfiles/vendor.Dockerfile b/dockerfiles/vendor.Dockerfile index 3377e897..aff25160 100644 --- a/dockerfiles/vendor.Dockerfile +++ b/dockerfiles/vendor.Dockerfile @@ -1,6 +1,6 @@ # syntax=docker/dockerfile:1 -ARG GO_VERSION=1.19.10 +ARG GO_VERSION=1.20.7 ARG ALPINE_VERSION=3.18 ARG MODOUTDATED_VERSION=v0.8.0 diff --git a/go.mod b/go.mod index c61f2a9e..45092e6a 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/distribution/distribution/v3 -go 1.18 +go 1.20 require ( cloud.google.com/go/storage v1.30.1