go.mod: bump to Go 1.19

Go 1.20 will be there soon, I think it's time to move our go.mod to
latest stable. We can then remove the compat in our vendor.Dockerfile

Downstream projects like compose or github.com/linuxkit/linuxkit should
not be affected.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-01-26 16:07:30 +01:00
parent 9f821dabeb
commit 7eb266de69
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
2 changed files with 2 additions and 2 deletions

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/docker/buildx
go 1.17
go 1.19
require (
github.com/aws/aws-sdk-go-v2/config v1.15.5

View File

@ -13,7 +13,7 @@ RUN --mount=target=/context \
--mount=target=/go/pkg/mod,type=cache <<EOT
set -e
rsync -a /context/. .
go mod tidy -compat=1.17
go mod tidy
go mod vendor
mkdir /out
cp -r go.mod go.sum vendor /out