forked from devcontainers/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Follow Docker Token Authentication Specification (devcontainers#341)
* refactor oci http auth code into a new file, and implement using wwwAuthenticate * clean up nesting * log statements * progress adopting new function * refactor to send all HTTP requests through httpOciRegistry * fix scope * fix inspectImageInRegistry * read in auth from .docker/config.json and assert ACR can anonymously pull features * add src/test/container-features/registryCompatibilityOCI.test.ts to matrix * improve performance by caching last successfully used token * whitespace * codereview: harden using auth headers to per registry * remove outdated comments
- Loading branch information
1 parent
a77d855
commit 0583b9c
Showing
12 changed files
with
467 additions
and
260 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.