drone registry add

This subcommand adds registry credentials to your repository. Please note this command requires authentication and administrative privilege to the repository.


NAME:
   drone registry add - adds a registry

USAGE:
   drone registry add [command options] [arguments...]

OPTIONS:
   --repository value  repository name (e.g. octocat/hello-world)
   --hostname value    registry hostname (default: "docker.io")
   --username value    registry username
   --password value    registry password
   


Example usage:

$ drone registry add \
  -repository octocat/hello-world \
  -username octocat \
  -password password

Example loads the repository password from file:

$ drone registry add \
  -repository octocat/hello-world \
  -hostname gcr.io \
  -username octocat \
  -password @/path/to/token.js