Open mcasperson opened 4 years ago
Looking at the code, the DockerRegistryOAuthClient
class preloads basic auth headers, and responds to a 401 response code with an exception.
any updates ?
@CrazyMushu
This issue is on our backlog, but unfortunately at this time I cannot provide an indication of when it will be addressed.
Prerequisites
The bug
Docker repositories can make use of token authentication, which is described at https://docs.docker.com/registry/spec/auth/token/. This spec requires multiple requests between the docker repository and a secondary auth service.
Octopus only supports basic auth in Docker feeds, and repositories that use token auth will fail.
What I expected to happen
Octopus should authenticate with the docker repository.
Affected versions
All versions of Octopus are affected.
Workarounds
The Docker repository must be configured to support basic auth to work with Octopus.
Links
https://secure.helpscout.net/conversation/1178164877/65319/