Configuration library for building your own registry authorization service.
Warning
Project is under development. Backwards compatibility is not guaranteed.
go get github.com/portward/registry-auth-config
This project is a library that you can use to build your own authorization service for a container registry.
To see it in action, check out https://github.com/portward/portward.
For an optimal developer experience, it is recommended to install Nix and direnv.
Run tests:
go test -race -v ./...
Run linter:
golangci-lint run
To test changes made in registry-auth:
Make sure registry-auth is checked out in the same directory:
cd ..
git clone git@github.com:portward/registry-auth.git
cd registry-auth-config
Set up a Go workspace:
go work init
go work use .
go work use ../registry-auth
go work sync
The project is licensed under the MIT License.