From 57cbe8727d4a3f2b83018963fad9ae67dafe20d3 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 6 Dec 2020 12:45:09 +0000 Subject: [PATCH] commit faebc9aa12377d45ff1427cf44864951ad042a3a Author: Robert Kaussow Date: Sun Dec 6 13:35:42 2020 +0100 add options to enable dockerhub auth --- index.md | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/index.md b/index.md index 083fd44..cb9c9fe 100644 --- a/index.md +++ b/index.md @@ -17,6 +17,7 @@ Setup [Drone CI autoscaler](https://autoscale.drone.io/). * [droneci_autoscaler_agent_version](#droneci_autoscaler_agent_version) * [droneci_autoscaler_agent_volumes](#droneci_autoscaler_agent_volumes) * [droneci_autoscaler_db_type](#droneci_autoscaler_db_type) + * [droneci_autoscaler_docker_auth_config](#droneci_autoscaler_docker_auth_config) * [droneci_autoscaler_exposed_ports](#droneci_autoscaler_exposed_ports) * [droneci_autoscaler_gc_enabled](#droneci_autoscaler_gc_enabled) * [droneci_autoscaler_image](#droneci_autoscaler_image) @@ -33,6 +34,7 @@ Setup [Drone CI autoscaler](https://autoscale.drone.io/). * [droneci_autoscaler_pool_min](#droneci_autoscaler_pool_min) * [droneci_autoscaler_pool_ttl](#droneci_autoscaler_pool_ttl) * [droneci_autoscaler_restart_policy](#droneci_autoscaler_restart_policy) + * [droneci_autoscaler_runner_env_file](#droneci_autoscaler_runner_env_file) * [droneci_autoscaler_runner_privileged](#droneci_autoscaler_runner_privileged) * [droneci_autoscaler_runner_volumes](#droneci_autoscaler_runner_volumes) * [droneci_autoscaler_server_host](#droneci_autoscaler_server_host) @@ -125,6 +127,23 @@ Database type to use (default sqlite). All other DB variable will ony be used it droneci_autoscaler_db_type: sqlite ``` +### droneci_autoscaler_docker_auth_config + +Docker registries auth config file (config.json). + +#### Default value + +```YAML +droneci_autoscaler_docker_auth_config: | + { + "auths": { + "https://index.docker.io/v1/": { + "auth": "abc...xy=" + } + } + } +``` + ### droneci_autoscaler_exposed_ports #### Default value @@ -175,6 +194,14 @@ droneci_autoscaler_instances: agent_architecture: amd64 sshkey: "dummy" api_host: "drone-amd64.example.com" + docker_auth_config: | + { + "auths": { + "https://index.docker.io/v1/": { + "auth": "abc...xy=" + } + } + } provider_config: - name: DRONE_HETZNERCLOUD_DATACENTER value: fsn1-dc14 @@ -311,6 +338,14 @@ droneci_autoscaler_pool_ttl: 50m droneci_autoscaler_restart_policy: always ``` +### droneci_autoscaler_runner_env_file + +#### Default value + +```YAML +droneci_autoscaler_runner_env_file: /etc/drone.conf +``` + ### droneci_autoscaler_runner_privileged #### Default value