From bf5f33bed12ee74e1e433636651529813a1f6076 Mon Sep 17 00:00:00 2001 From: Aldo Lacuku Date: Thu, 25 Jul 2024 15:52:12 +0200 Subject: [PATCH] chore(docker): bump docker packaget to v27.0.3+incompatible Signed-off-by: Aldo Lacuku --- go.mod | 2 +- go.sum | 2 ++ pkg/driverbuilder/docker.go | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 3d77a8b5..cc494357 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/blang/semver v3.5.1+incompatible github.com/containerd/containerd v1.7.15 // indirect github.com/creasty/defaults v1.7.0 - github.com/docker/docker v26.1.1+incompatible + github.com/docker/docker v27.0.3+incompatible github.com/go-playground/locales v0.14.1 github.com/go-playground/universal-translator v0.18.1 github.com/go-playground/validator/v10 v10.19.0 diff --git a/go.sum b/go.sum index 1ede9b7d..ebf2c583 100644 --- a/go.sum +++ b/go.sum @@ -59,6 +59,8 @@ github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5Qvfr github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= github.com/docker/docker v26.1.1+incompatible h1:oI+4kkAgIwwb54b9OC7Xc3hSgu1RlJA/Lln/DF72djQ= github.com/docker/docker v26.1.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= +github.com/docker/docker v27.0.3+incompatible h1:aBGI9TeQ4MPlhquTQKq9XbK79rKFVwXNUAYz9aXyEBE= +github.com/docker/docker v27.0.3+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.5.0 h1:USnMq7hx7gwdVZq1L49hLXaFtUdTADjXGp+uj1Br63c= github.com/docker/go-connections v0.5.0/go.mod h1:ov60Kzw0kKElRwhNs9UlUHAE/F9Fe6GLaXnqyDdmEXc= github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4= diff --git a/pkg/driverbuilder/docker.go b/pkg/driverbuilder/docker.go index ec782cab..dc5e62d5 100644 --- a/pkg/driverbuilder/docker.go +++ b/pkg/driverbuilder/docker.go @@ -78,7 +78,7 @@ func (bp *DockerBuildProcessor) mustCheckArchUseQemu(ctx context.Context, b *bui if _, _, err = cli.ImageInspectWithRaw(ctx, "multiarch/qemu-user-static"); client.IsErrNotFound(err) { bp.Logger.Debug("pulling qemu static image", bp.Logger.Args("image", "multiarch/qemu-user-static")) - pullRes, err := cli.ImagePull(ctx, "multiarch/qemu-user-static", types.ImagePullOptions{}) + pullRes, err := cli.ImagePull(ctx, "multiarch/qemu-user-static", image.PullOptions{}) if err != nil { log.Fatal(err) }