feat: Add secret and registry endpoint

master
Bo-Yi Wu 2019-06-22 08:27:41 +08:00
parent 6fcc6a57c4
commit ddae4fb558
1 changed files with 11 additions and 1 deletions

View File

@ -13,4 +13,14 @@ DRONE_RUNNER_NAME={{ drone_runner_name }}
{% endif %}
{% if drone_docker_config is defined %}
DRONE_DOCKER_CONFIG={{ drone_docker_config }}
{% endif %
{% endif %}
{% if drone_secret_endpoint is defined %}
DRONE_SECRET_ENDPOINT={{ drone_secret_endpoint }}
DRONE_SECRET_SECRET={{ drone_secret_secret }}
DRONE_SECRET_SKIP_VERIFY={{ drone_secret_skip_verify }}
{% endif %}
{% if drone_registry_endpoint is defined %}
DRONE_REGISTRY_ENDPOINT={{ drone_registry_endpoint }}
DRONE_REGISTRY_SECRET={{ drone_registry_secret }}
DRONE_REGISTRY_SKIP_VERIFY={{ drone_registry_skip_verify }}
{% endif %}