mirror of https://github.com/docker/buildx.git
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:
parent
9f821dabeb
commit
7eb266de69
2
go.mod
2
go.mod
|
@ -1,6 +1,6 @@
|
||||||
module github.com/docker/buildx
|
module github.com/docker/buildx
|
||||||
|
|
||||||
go 1.17
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/aws/aws-sdk-go-v2/config v1.15.5
|
github.com/aws/aws-sdk-go-v2/config v1.15.5
|
||||||
|
|
|
@ -13,7 +13,7 @@ RUN --mount=target=/context \
|
||||||
--mount=target=/go/pkg/mod,type=cache <<EOT
|
--mount=target=/go/pkg/mod,type=cache <<EOT
|
||||||
set -e
|
set -e
|
||||||
rsync -a /context/. .
|
rsync -a /context/. .
|
||||||
go mod tidy -compat=1.17
|
go mod tidy
|
||||||
go mod vendor
|
go mod vendor
|
||||||
mkdir /out
|
mkdir /out
|
||||||
cp -r go.mod go.sum vendor /out
|
cp -r go.mod go.sum vendor /out
|
||||||
|
|
Loading…
Reference in New Issue