replace deprecated docker/distribution package

This commit is contained in:
nils måsén 2023-10-04 12:03:02 +02:00
parent f6443e53c1
commit 98e8cc3fe2
6 changed files with 7 additions and 7 deletions

View file

@ -11,7 +11,7 @@ import (
"github.com/containrrr/watchtower/pkg/registry/helpers"
"github.com/containrrr/watchtower/pkg/types"
ref "github.com/docker/distribution/reference"
ref "github.com/distribution/reference"
"github.com/sirupsen/logrus"
)

View file

@ -12,7 +12,7 @@ import (
"github.com/containrrr/watchtower/pkg/registry/auth"
wtTypes "github.com/containrrr/watchtower/pkg/types"
ref "github.com/docker/distribution/reference"
ref "github.com/distribution/reference"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)

View file

@ -1,7 +1,7 @@
package helpers
import (
"github.com/docker/distribution/reference"
"github.com/distribution/reference"
)
// domains for Docker Hub, the default registry

View file

@ -7,7 +7,7 @@ import (
"github.com/containrrr/watchtower/pkg/registry/helpers"
"github.com/containrrr/watchtower/pkg/types"
ref "github.com/docker/distribution/reference"
ref "github.com/distribution/reference"
"github.com/sirupsen/logrus"
)

View file

@ -3,7 +3,7 @@ package registry
import (
"github.com/containrrr/watchtower/pkg/registry/helpers"
watchtowerTypes "github.com/containrrr/watchtower/pkg/types"
ref "github.com/docker/distribution/reference"
ref "github.com/distribution/reference"
"github.com/docker/docker/api/types"
log "github.com/sirupsen/logrus"
)