Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.73 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.73 KB

Registry auth configuration

GitHub Workflow Status go.dev reference built with nix

Configuration library for building your own registry authorization service.

Warning

Project is under development. Backwards compatibility is not guaranteed.

Installation

go get github.com/portward/registry-auth-config

Usage

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.

Development

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 [email protected]: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

License

The project is licensed under the MIT License.