Closed yp05327 closed 8 months ago
Hi @yp05327 , it looks like your code is still using v1.2.4
which does not include the latest dependency updates.
To use the latest commit 2afb6872ee1aefbdb5bfdbdaa15833cad8244b80, you can run:
go get oras.land/oras-go@2afb6872ee1aefbdb5bfdbdaa15833cad8244b80
Hi @Wwwsylvia, it worked. Thanks a lot.
When I build my application, I got this error:
Then I found that
types.AuthConfig
is deprecated ingithub.com/docker/docker@v25.x.x
. https://pkg.go.dev/github.com/docker/docker@v24.0.7+incompatible/api/types#AuthConfigBut
github.com/docker/docker
was updated from v24.0.7 to v25.0.0 in #689 yesterday.