1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

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

@ -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

@ -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

@ -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

@ -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"

@ -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

@ -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