Skip to content

Commit 8e4d8e3

Browse files
committed
Replace go-containerregistry with containerd/moby
This commit removes the vendored go-containerregistry package and replaces it with containerd and moby packages for OCI registry operations. Signed-off-by: Eric Curtin <[email protected]>
1 parent 754e0ed commit 8e4d8e3

File tree

543 files changed

+2813
-67449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

543 files changed

+2813
-67449
lines changed

Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ WORKDIR /app
1919
# Copy go mod/sum first for better caching
2020
COPY --link go.mod go.sum ./
2121

22-
# Copy pkg/go-containerregistry for the replace directive in go.mod
23-
COPY --link pkg/go-containerregistry ./pkg/go-containerregistry
24-
2522
# Download dependencies (with cache mounts)
2623
RUN --mount=type=cache,target=/go/pkg/mod \
2724
--mount=type=cache,target=/root/.cache/go-build \

cmd/cli/commands/integration_test.go

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import (
1717
"github.com/docker/model-runner/cmd/cli/desktop"
1818
"github.com/docker/model-runner/cmd/cli/pkg/types"
1919
"github.com/docker/model-runner/pkg/distribution/builder"
20+
"github.com/docker/model-runner/pkg/distribution/oci/reference"
2021
"github.com/docker/model-runner/pkg/distribution/registry"
2122
"github.com/stretchr/testify/require"
2223
"github.com/testcontainers/testcontainers-go"
@@ -1037,7 +1038,7 @@ func TestIntegration_PackageModel(t *testing.T) {
10371038
model, err := env.client.Inspect(targetTag, false)
10381039
require.NoError(t, err, "Failed to inspect packaged model by tag: %s", targetTag)
10391040
require.NotEmpty(t, model.ID, "Model ID should not be empty")
1040-
require.Contains(t, model.Tags, targetTag, "Model should have the expected tag")
1041+
require.Contains(t, model.Tags, normalizeRef(t, targetTag), "Model should have the expected tag")
10411042

10421043
t.Logf("✓ Successfully packaged and tagged model: %s (ID: %s)", targetTag, model.ID[7:19])
10431044

@@ -1070,7 +1071,7 @@ func TestIntegration_PackageModel(t *testing.T) {
10701071
// Verify the model was loaded and tagged
10711072
model, err := env.client.Inspect(targetTag, false)
10721073
require.NoError(t, err, "Failed to inspect packaged model")
1073-
require.Contains(t, model.Tags, targetTag, "Model should have the expected tag")
1074+
require.Contains(t, model.Tags, normalizeRef(t, targetTag), "Model should have the expected tag")
10741075

10751076
t.Logf("✓ Successfully packaged model with context size: %s", targetTag)
10761077

@@ -1100,7 +1101,7 @@ func TestIntegration_PackageModel(t *testing.T) {
11001101
// Verify the model was loaded and tagged
11011102
model, err := env.client.Inspect(targetTag, false)
11021103
require.NoError(t, err, "Failed to inspect packaged model")
1103-
require.Contains(t, model.Tags, targetTag, "Model should have the expected tag")
1104+
require.Contains(t, model.Tags, normalizeRef(t, targetTag), "Model should have the expected tag")
11041105

11051106
t.Logf("✓ Successfully packaged model with custom org: %s", targetTag)
11061107

@@ -1118,3 +1119,12 @@ func TestIntegration_PackageModel(t *testing.T) {
11181119
func int32ptr(n int32) *int32 {
11191120
return &n
11201121
}
1122+
1123+
// normalizeRef normalizes a reference to its fully qualified form.
1124+
// This is used in tests to compare against the stored tags which are always normalized.
1125+
func normalizeRef(t *testing.T, ref string) string {
1126+
t.Helper()
1127+
parsed, err := reference.ParseReference(ref, registry.GetDefaultRegistryOptions()...)
1128+
require.NoError(t, err, "Failed to parse reference: %s", ref)
1129+
return parsed.String()
1130+
}

cmd/cli/commands/package.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ import (
1414
"github.com/docker/model-runner/cmd/cli/desktop"
1515
"github.com/docker/model-runner/pkg/distribution/builder"
1616
"github.com/docker/model-runner/pkg/distribution/distribution"
17+
"github.com/docker/model-runner/pkg/distribution/oci/reference"
1718
"github.com/docker/model-runner/pkg/distribution/packaging"
1819
"github.com/docker/model-runner/pkg/distribution/registry"
1920
"github.com/docker/model-runner/pkg/distribution/tarball"
2021
"github.com/docker/model-runner/pkg/distribution/types"
21-
"github.com/docker/model-runner/pkg/go-containerregistry/pkg/name"
2222
"github.com/spf13/cobra"
2323
)
2424

@@ -434,7 +434,7 @@ func packageModel(ctx context.Context, cmd *cobra.Command, client *desktop.Clien
434434
// modelRunnerTarget loads model to Docker Model Runner via models/load endpoint
435435
type modelRunnerTarget struct {
436436
client *desktop.Client
437-
tag name.Tag
437+
tag *reference.Tag
438438
}
439439

440440
func newModelRunnerTarget(client *desktop.Client, tag string) (*modelRunnerTarget, error) {
@@ -443,7 +443,7 @@ func newModelRunnerTarget(client *desktop.Client, tag string) (*modelRunnerTarge
443443
}
444444
if tag != "" {
445445
var err error
446-
target.tag, err = name.NewTag(tag)
446+
target.tag, err = reference.NewTag(tag)
447447
if err != nil {
448448
return nil, fmt.Errorf("invalid tag: %w", err)
449449
}
@@ -477,7 +477,7 @@ func (t *modelRunnerTarget) Write(ctx context.Context, mdl types.ModelArtifact,
477477
if err != nil {
478478
return fmt.Errorf("get model ID: %w", err)
479479
}
480-
if t.tag.String() != "" {
480+
if t.tag != nil {
481481
if err := t.client.Tag(id, parseRepo(t.tag), t.tag.TagStr()); err != nil {
482482
return fmt.Errorf("tag model: %w", err)
483483
}

cmd/cli/commands/tag.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66

77
"github.com/docker/model-runner/cmd/cli/commands/completion"
88
"github.com/docker/model-runner/cmd/cli/desktop"
9+
"github.com/docker/model-runner/pkg/distribution/oci/reference"
910
"github.com/docker/model-runner/pkg/distribution/registry"
10-
"github.com/docker/model-runner/pkg/go-containerregistry/pkg/name"
1111
"github.com/spf13/cobra"
1212
)
1313

@@ -26,7 +26,7 @@ func newTagCmd() *cobra.Command {
2626

2727
func tagModel(cmd *cobra.Command, desktopClient *desktop.Client, source, target string) error {
2828
// Ensure tag is valid
29-
tag, err := name.NewTag(target, registry.GetDefaultRegistryOptions()...)
29+
tag, err := reference.NewTag(target, registry.GetDefaultRegistryOptions()...)
3030
if err != nil {
3131
return fmt.Errorf("invalid tag: %w", err)
3232
}
@@ -40,6 +40,6 @@ func tagModel(cmd *cobra.Command, desktopClient *desktop.Client, source, target
4040

4141
// parseRepo returns the repo portion of the original target string. It does not include implicit
4242
// index.docker.io when the registry is omitted.
43-
func parseRepo(tag name.Tag) string {
43+
func parseRepo(tag *reference.Tag) string {
4444
return strings.TrimSuffix(tag.String(), ":"+tag.TagStr())
4545
}

cmd/cli/commands/utils.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
"github.com/docker/cli/cli-plugins/hooks"
1212
"github.com/docker/model-runner/cmd/cli/desktop"
1313
"github.com/docker/model-runner/cmd/cli/pkg/standalone"
14-
"github.com/docker/model-runner/pkg/go-containerregistry/pkg/name"
14+
"github.com/docker/model-runner/pkg/distribution/oci/reference"
1515
"github.com/docker/model-runner/pkg/inference/backends/vllm"
1616
"github.com/moby/term"
1717
"github.com/olekukonko/tablewriter"
@@ -33,12 +33,12 @@ const (
3333

3434
// getDefaultRegistry returns the default registry, checking for environment override
3535
// If DEFAULT_REGISTRY environment variable is set, it returns that value
36-
// Otherwise, it returns name.DefaultRegistry ("index.docker.io")
36+
// Otherwise, it returns reference.DefaultRegistry ("index.docker.io")
3737
func getDefaultRegistry() string {
3838
if defaultReg := os.Getenv("DEFAULT_REGISTRY"); defaultReg != "" {
3939
return defaultReg
4040
}
41-
return name.DefaultRegistry
41+
return reference.DefaultRegistry
4242
}
4343

4444
var errNotRunning = fmt.Errorf("Docker Model Runner is not running. Please start it and try again.\n")

cmd/cli/go.mod

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ require (
1111
github.com/docker/go-connections v0.6.0
1212
github.com/docker/go-units v0.5.0
1313
github.com/docker/model-runner v1.0.10
14-
github.com/docker/model-runner/pkg/go-containerregistry v0.0.0-20251121150728-6951a2a36575
1514
github.com/emirpasic/gods/v2 v2.0.0-alpha
1615
github.com/fatih/color v1.18.0
1716
github.com/mattn/go-runewidth v0.0.19
@@ -55,7 +54,6 @@ require (
5554
github.com/containerd/errdefs/pkg v0.3.0 // indirect
5655
github.com/containerd/log v0.1.0 // indirect
5756
github.com/containerd/platforms v1.0.0-rc.2 // indirect
58-
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
5957
github.com/containerd/typeurl/v2 v2.2.3 // indirect
6058
github.com/cpuguy83/dockercfg v0.3.2 // indirect
6159
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
@@ -91,7 +89,6 @@ require (
9189
github.com/mattn/go-isatty v0.0.20 // indirect
9290
github.com/mattn/go-shellwords v1.0.12 // indirect
9391
github.com/microcosm-cc/bluemonday v1.0.27 // indirect
94-
github.com/mitchellh/go-homedir v1.1.0 // indirect
9592
github.com/moby/docker-image-spec v1.3.1 // indirect
9693
github.com/moby/go-archive v0.1.0 // indirect
9794
github.com/moby/locker v1.0.1 // indirect
@@ -122,7 +119,6 @@ require (
122119
github.com/smallnest/ringbuffer v0.0.0-20241116012123-461381446e3d // indirect
123120
github.com/tklauser/go-sysconf v0.3.12 // indirect
124121
github.com/tklauser/numcpus v0.6.1 // indirect
125-
github.com/vbatts/tar-split v0.12.1 // indirect
126122
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
127123
github.com/yuin/goldmark v1.7.8 // indirect
128124
github.com/yuin/goldmark-emoji v1.0.5 // indirect
@@ -157,4 +153,4 @@ require (
157153

158154
replace github.com/kolesnikovae/go-winjob => github.com/docker/go-winjob v0.0.0-20250829235554-57b487ebcbc5
159155

160-
replace github.com/docker/model-runner/pkg/go-containerregistry => ../../pkg/go-containerregistry
156+
replace github.com/docker/model-runner => ../..

cmd/cli/go.sum

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
6464
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
6565
github.com/containerd/platforms v1.0.0-rc.2 h1:0SPgaNZPVWGEi4grZdV8VRYQn78y+nm6acgLGv/QzE4=
6666
github.com/containerd/platforms v1.0.0-rc.2/go.mod h1:J71L7B+aiM5SdIEqmd9wp6THLVRzJGXfNuWCZCllLA4=
67-
github.com/containerd/stargz-snapshotter/estargz v0.16.3 h1:7evrXtoh1mSbGj/pfRccTampEyKpjpOnS3CyiV1Ebr8=
68-
github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU=
6967
github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40=
7068
github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk=
7169
github.com/cpuguy83/dockercfg v0.3.2 h1:DlJTyZGBDlXqUZ2Dk2Q3xHs/FtnooJJVaad2S9GKorA=
@@ -101,8 +99,6 @@ github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4
10199
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
102100
github.com/docker/go-winjob v0.0.0-20250829235554-57b487ebcbc5 h1:dxSFEb0EEmvceIawSFNDMrvKakRz2t+2WYpY3dFAT04=
103101
github.com/docker/go-winjob v0.0.0-20250829235554-57b487ebcbc5/go.mod h1:ICOGmIXdwhfid7rQP+tLvDJqVg0lHdEk3pI5nsapTtg=
104-
github.com/docker/model-runner v1.0.10 h1:meSXhmMqf1wZioYf3Nydr7iXq01qSkUndFsXd/QAjrs=
105-
github.com/docker/model-runner v1.0.10/go.mod h1:PF+WLIG96pKnhQ/AhQOo2Ulr1gaKqXG1quQu88ZmoDg=
106102
github.com/ebitengine/purego v0.8.4 h1:CF7LEKg5FFOsASUj0+QwaXf8Ht6TlFxg09+S9wz0omw=
107103
github.com/ebitengine/purego v0.8.4/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
108104
github.com/emirpasic/gods/v2 v2.0.0-alpha h1:dwFlh8pBg1VMOXWGipNMRt8v96dKAIvBehtCt6OtunU=
@@ -183,8 +179,6 @@ github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebG
183179
github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
184180
github.com/microcosm-cc/bluemonday v1.0.27 h1:MpEUotklkwCSLeH+Qdx1VJgNqLlpY2KXwXFM08ygZfk=
185181
github.com/microcosm-cc/bluemonday v1.0.27/go.mod h1:jFi9vgW+H7c3V0lb6nR74Ib/DIB5OBs92Dimizgw2cA=
186-
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
187-
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
188182
github.com/moby/docker-image-spec v1.3.1 h1:jMKff3w6PgbfSa69GfNg+zN/XLhfXJGnEx3Nl2EsFP0=
189183
github.com/moby/docker-image-spec v1.3.1/go.mod h1:eKmb5VW8vQEh/BAr2yvVNvuiJuY6UIocYsFu/DxxRpo=
190184
github.com/moby/go-archive v0.1.0 h1:Kk/5rdW/g+H8NHdJW2gsXyZ7UnzvJNOy6VKJqueWdcQ=
@@ -286,8 +280,6 @@ github.com/tklauser/go-sysconf v0.3.12 h1:0QaGUFOdQaIVdPgfITYzaTegZvdCjmYO52cSFA
286280
github.com/tklauser/go-sysconf v0.3.12/go.mod h1:Ho14jnntGE1fpdOqQEEaiKRpvIavV0hSfmBq8nJbHYI=
287281
github.com/tklauser/numcpus v0.6.1 h1:ng9scYS7az0Bk4OZLvrNXNSAO2Pxr1XXRAPyjhIx+Fk=
288282
github.com/tklauser/numcpus v0.6.1/go.mod h1:1XfjsgE2zo8GVw7POkMbHENHzVg3GzmoZ9fESEdAacY=
289-
github.com/vbatts/tar-split v0.12.1 h1:CqKoORW7BUWBe7UL/iqTVvkTBOF8UvOMKOIZykxnnbo=
290-
github.com/vbatts/tar-split v0.12.1/go.mod h1:eF6B6i6ftWQcDqEn3/iGFRFRo8cBIMSJVOpnNdfTMFA=
291283
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no=
292284
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM=
293285
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=

go.mod

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ go 1.24.3
55
require (
66
github.com/containerd/containerd/v2 v2.2.1
77
github.com/containerd/platforms v1.0.0-rc.2
8+
github.com/distribution/reference v0.6.0
89
github.com/docker/go-units v0.5.0
9-
github.com/docker/model-runner/pkg/go-containerregistry v0.0.0-20251121150728-6951a2a36575
1010
github.com/gpustack/gguf-parser-go v0.22.1
1111
github.com/jaypipes/ghw v0.21.2
1212
github.com/kolesnikovae/go-winjob v1.0.0
@@ -24,13 +24,8 @@ require (
2424
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2525
github.com/containerd/errdefs v1.0.0 // indirect
2626
github.com/containerd/log v0.1.0 // indirect
27-
github.com/containerd/stargz-snapshotter/estargz v0.16.3 // indirect
2827
github.com/containerd/typeurl/v2 v2.2.3 // indirect
2928
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
30-
github.com/distribution/reference v0.6.0 // indirect
31-
github.com/docker/cli v29.1.3+incompatible // indirect
32-
github.com/docker/distribution v2.8.3+incompatible // indirect
33-
github.com/docker/docker-credential-helpers v0.9.3 // indirect
3429
github.com/felixge/httpsnoop v1.0.4 // indirect
3530
github.com/go-logr/logr v1.4.3 // indirect
3631
github.com/go-logr/stdr v1.2.2 // indirect
@@ -40,15 +35,13 @@ require (
4035
github.com/jaypipes/pcidb v1.1.1 // indirect
4136
github.com/json-iterator/go v1.1.12 // indirect
4237
github.com/klauspost/compress v1.18.1 // indirect
43-
github.com/mitchellh/go-homedir v1.1.0 // indirect
4438
github.com/moby/locker v1.0.1 // indirect
4539
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4640
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
4741
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4842
github.com/pkg/errors v0.9.1 // indirect
4943
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
5044
github.com/smallnest/ringbuffer v0.0.0-20241116012123-461381446e3d // indirect
51-
github.com/vbatts/tar-split v0.12.1 // indirect
5245
github.com/yusufpapurcu/wmi v1.2.4 // indirect
5346
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
5447
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.62.0 // indirect

go.sum

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
2222
github.com/containerd/log v0.1.0/go.mod h1:VRRf09a7mHDIRezVKTRCrOq78v577GXq3bSa3EhrzVo=
2323
github.com/containerd/platforms v1.0.0-rc.2 h1:0SPgaNZPVWGEi4grZdV8VRYQn78y+nm6acgLGv/QzE4=
2424
github.com/containerd/platforms v1.0.0-rc.2/go.mod h1:J71L7B+aiM5SdIEqmd9wp6THLVRzJGXfNuWCZCllLA4=
25-
github.com/containerd/stargz-snapshotter/estargz v0.16.3 h1:7evrXtoh1mSbGj/pfRccTampEyKpjpOnS3CyiV1Ebr8=
26-
github.com/containerd/stargz-snapshotter/estargz v0.16.3/go.mod h1:uyr4BfYfOj3G9WBVE8cOlQmXAbPN9VEQpBBeJIuOipU=
2725
github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40=
2826
github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk=
2927
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -32,18 +30,10 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1
3230
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
3331
github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5QvfrDyIgxBk=
3432
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
35-
github.com/docker/cli v29.1.3+incompatible h1:+kz9uDWgs+mAaIZojWfFt4d53/jv0ZUOOoSh5ZnH36c=
36-
github.com/docker/cli v29.1.3+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8=
37-
github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk=
38-
github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w=
39-
github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8=
40-
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
4133
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=
4234
github.com/docker/go-units v0.5.0/go.mod h1:fgPhTUdO+D/Jk86RDLlptpiXQzgHJF7gydDDbaIK4Dk=
4335
github.com/docker/go-winjob v0.0.0-20250829235554-57b487ebcbc5 h1:dxSFEb0EEmvceIawSFNDMrvKakRz2t+2WYpY3dFAT04=
4436
github.com/docker/go-winjob v0.0.0-20250829235554-57b487ebcbc5/go.mod h1:ICOGmIXdwhfid7rQP+tLvDJqVg0lHdEk3pI5nsapTtg=
45-
github.com/docker/model-runner/pkg/go-containerregistry v0.0.0-20251121150728-6951a2a36575 h1:N2yLWYSZFTVLkLTh8ux1Z0Nug/F78pXsl2KDtbWhe+Y=
46-
github.com/docker/model-runner/pkg/go-containerregistry v0.0.0-20251121150728-6951a2a36575/go.mod h1:gbdiY0X8gr0J88OfUuRD29JXCWT9jgHzPmrqTlO15BM=
4737
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
4838
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
4939
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
@@ -84,8 +74,6 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
8474
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
8575
github.com/mattn/go-shellwords v1.0.12 h1:M2zGm7EW6UQJvDeQxo4T51eKPurbeFbe8WtebGE2xrk=
8676
github.com/mattn/go-shellwords v1.0.12/go.mod h1:EZzvwXDESEeg03EKmM+RmDnNOPKG4lLtQsUlTZDWQ8Y=
87-
github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y=
88-
github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
8977
github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg=
9078
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
9179
github.com/moby/sys/mountinfo v0.7.2 h1:1shs6aH5s4o5H2zQLn796ADW1wMrIwHsyJ2v9KouLrg=
@@ -124,8 +112,6 @@ github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UV
124112
github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
125113
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
126114
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
127-
github.com/vbatts/tar-split v0.12.1 h1:CqKoORW7BUWBe7UL/iqTVvkTBOF8UvOMKOIZykxnnbo=
128-
github.com/vbatts/tar-split v0.12.1/go.mod h1:eF6B6i6ftWQcDqEn3/iGFRFRo8cBIMSJVOpnNdfTMFA=
129115
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
130116
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
131117
github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0=
@@ -204,7 +190,5 @@ gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EV
204190
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
205191
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
206192
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
207-
gotest.tools/v3 v3.5.2 h1:7koQfIKdy+I8UTetycgUqXWSDwpgv193Ka+qRsmBY8Q=
208-
gotest.tools/v3 v3.5.2/go.mod h1:LtdLGcnqToBH83WByAAi/wiwSFCArdFIUV/xxN4pcjA=
209193
howett.net/plist v1.0.2-0.20250314012144-ee69052608d9 h1:eeH1AIcPvSc0Z25ThsYF+Xoqbn0CI/YnXVYoTLFdGQw=
210194
howett.net/plist v1.0.2-0.20250314012144-ee69052608d9/go.mod h1:fyFX5Hj5tP1Mpk8obqA9MZgXT416Q5711SDT7dQLTLk=

go.work

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ go 1.24.3
33
use (
44
.
55
cmd/cli
6-
pkg/go-containerregistry
76
)

0 commit comments

Comments
 (0)