Authorize registry token requests using Cerbos.
Warning
Project is under development. Backwards compatibility is not guaranteed.
For an optimal developer experience, it is recommended to install Nix and direnv.
Run tests:
dagger call testRun linters:
dagger call lintLaunch Cerbos:
docker compose up -dRun tests:
go test -race -v ./...Run linter:
golangci-lint runTo test changes made in registry-auth and registry-auth-config:
Make sure registry-auth is checked out in the same directory:
cd ..
git clone [email protected]:portward/registry-auth.git
cd cerbosSet up a Go workspace:
go work init
go work use .
go work use ../registry-auth
go work syncCleanup:
docker compose down -vThe project is licensed under the MIT License.