Sha256: 5d2bbd472810657b689d144c9c2f4598f813cf8e352f1c725bb5abc161478208

Contents?: true

Size: 1.77 KB

Versions: 12

Compression:

Stored size: 1.77 KB

Contents

# Registry
#
# The default registry is Docker Hub, but you can change it using registry/server:
#
# A reference to secret (in this case DOCKER_REGISTRY_TOKEN) will look up the secret
# in the local environment.

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

# Using AWS ECR as the container registry
# You will need to have the aws CLI installed locally for this to work.
# AWS ECR’s access token is only valid for 12hrs. In order to not have to manually regenerate the token every time, you can use ERB in the deploy.yml file to shell out to the aws cli command, and obtain the token:

registry:
  server: <your aws account id>.dkr.ecr.<your aws region id>.amazonaws.com
  username: AWS
  password: <%= %x(aws ecr get-login-password) %>

# Using GCP Artifact Registry as the container registry
# To sign into Artifact Registry, you would need to
# [create a service account](https://cloud.google.com/iam/docs/service-accounts-create#creating)
# and [set up roles and permissions](https://cloud.google.com/artifact-registry/docs/access-control#permissions).
# Normally, assigning a roles/artifactregistry.writer role should be sufficient.
#
# Once the service account is ready, you need to generate and download a JSON key, base64 encode it and add to .env:
#
# ```shell
# echo "KAMAL_REGISTRY_PASSWORD=$(base64 -i /path/to/key.json)" | tr -d "\\n"  >> .env
# ```
# Use the env variable as password along with _json_key_base64 as username.
# Here’s the final configuration:

registry:
  server: <your registry region>-docker.pkg.dev
  username: _json_key_base64
  password:
    - KAMAL_REGISTRY_PASSWORD

# Validating the configuration
#
# You can validate the configuration by running:
# ```shell
# kamal registry login
# ```

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
kamal-1.9.2 lib/kamal/configuration/docs/registry.yml
kamal-1.9.1 lib/kamal/configuration/docs/registry.yml
kamal-1.9.0 lib/kamal/configuration/docs/registry.yml
kamal-2.0.0.alpha lib/kamal/configuration/docs/registry.yml
kamal-1.8.3 lib/kamal/configuration/docs/registry.yml
kamal-1.8.2 lib/kamal/configuration/docs/registry.yml
kamal-1.8.1 lib/kamal/configuration/docs/registry.yml
kamal-1.8.0 lib/kamal/configuration/docs/registry.yml
kamal-1.7.3 lib/kamal/configuration/docs/registry.yml
kamal-1.7.2 lib/kamal/configuration/docs/registry.yml
kamal-1.7.1 lib/kamal/configuration/docs/registry.yml
kamal-1.7.0 lib/kamal/configuration/docs/registry.yml