migrate to github.com/distribution/reference

The "reference" package was moved to a separate module, which was extracted
from b9b19409cf

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2023-08-31 09:13:58 +02:00
parent 32c3d0a3ff
commit f4f2e934ac
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
7 changed files with 24 additions and 88 deletions

View file

@ -31,7 +31,7 @@ import (
"github.com/docker/docker/api/types/volume"
"github.com/compose-spec/compose-go/types"
"github.com/distribution/distribution/v3/reference"
"github.com/distribution/reference"
"github.com/docker/cli/cli/command"
"github.com/docker/cli/cli/config/configfile"
"github.com/docker/cli/cli/flags"

View file

@ -23,7 +23,7 @@ import (
"sync"
"github.com/compose-spec/compose-go/types"
"github.com/distribution/distribution/v3/reference"
"github.com/distribution/reference"
moby "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/client"

View file

@ -22,7 +22,7 @@ import (
"strings"
"sync"
"github.com/distribution/distribution/v3/reference"
"github.com/distribution/reference"
moby "github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/filters"
"github.com/docker/docker/errdefs"

View file

@ -26,7 +26,7 @@ import (
"strings"
"github.com/compose-spec/compose-go/types"
"github.com/distribution/distribution/v3/reference"
"github.com/distribution/reference"
"github.com/docker/buildx/driver"
moby "github.com/docker/docker/api/types"
"github.com/docker/docker/pkg/jsonmessage"

View file

@ -24,7 +24,7 @@ import (
"io"
"github.com/compose-spec/compose-go/types"
"github.com/distribution/distribution/v3/reference"
"github.com/distribution/reference"
"github.com/docker/buildx/driver"
moby "github.com/docker/docker/api/types"
"github.com/docker/docker/pkg/jsonmessage"