drone registry add

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

   drone registry add - adds a registry

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

   --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

Is there a mistake on this page? Please let us know or edit this page.