kamal icon indicating copy to clipboard operation
kamal copied to clipboard

Allow registry username to reference a secret

Open kjellberg opened this issue 2 years ago • 0 comments

From DigitalOcean docs:

For CI systems that support configuring registry authentication via username and password, use a DigitalOcean API token as both the username and the password. The API token must have read/write privileges to push to your registry.

This PR enables users to configure their registry details with a secret for username, like this:

registry:
  server: registry.digitalocean.com
  username:  
    - SECRET_REGISTRY_TOKEN
  password: 
    - SECRET_REGISTRY_TOKEN

solves #89

kjellberg avatar Mar 07 '23 09:03 kjellberg