diff --git a/go.mod b/go.mod index 225f10885..2b910ca0f 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,8 @@ require ( github.com/ckaznocha/protoc-gen-lint v0.3.0 github.com/containers/image/v5 v5.28.0 github.com/davecgh/go-spew v1.1.1 - github.com/docker/distribution v2.8.2+incompatible + github.com/distribution/reference v0.5.0 + github.com/docker/distribution v2.8.3+incompatible github.com/facebookincubator/nvdtools v0.1.5 github.com/ghodss/yaml v1.0.0 github.com/go-git/go-billy/v5 v5.5.0 diff --git a/go.sum b/go.sum index a2fc61df9..af2908dcd 100644 --- a/go.sum +++ b/go.sum @@ -223,8 +223,10 @@ github.com/devigned/tab v0.1.1/go.mod h1:XG9mPq0dFghrYvoBF3xdRrJzSTX1b7IQrvaL9mz github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ= github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no= github.com/dimchansky/utfbom v1.1.0/go.mod h1:rO41eb7gLfo8SF1jd9F8HplJm1Fewwi4mQvIirEdv+8= -github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= -github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= +github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0= +github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= +github.com/docker/distribution v2.8.3+incompatible h1:AtKxIZ36LoNK51+Z6RpzLpddBirtxJnzDrHLEKxTAYk= +github.com/docker/distribution v2.8.3+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= github.com/docker/docker v24.0.6+incompatible h1:hceabKCtUgDqPu+qm0NgsaXf28Ljf4/pWFL7xjWWDgE= github.com/docker/docker v24.0.6+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/libtrust v0.0.0-20160708172513-aabc10ec26b7 h1:UhxFibDNY/bfvqU5CAUmr9zpesgbU6SWc8/B4mflAE4= diff --git a/pkg/clairify/types/types.go b/pkg/clairify/types/types.go index 2fd7b8bf7..dcabedc26 100644 --- a/pkg/clairify/types/types.go +++ b/pkg/clairify/types/types.go @@ -9,11 +9,11 @@ import ( "strings" "time" + "github.com/distribution/reference" "github.com/docker/distribution/manifest/manifestlist" ociV1 "github.com/docker/distribution/manifest/ocischema" manifestV1 "github.com/docker/distribution/manifest/schema1" manifestV2 "github.com/docker/distribution/manifest/schema2" - "github.com/docker/distribution/reference" "github.com/heroku/docker-registry-client/registry" "github.com/opencontainers/go-digest" "github.com/pkg/errors"