From c178a36438132f824932f6db26d7e902d69db56a Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 6 Nov 2020 02:35:10 -0500 Subject: [PATCH] use registry mirror for docker-in-docker (#13438) Co-authored-by: Lauris BH --- .drone.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.drone.yml b/.drone.yml index df84088e65d..57dc12d3e79 100644 --- a/.drone.yml +++ b/.drone.yml @@ -681,6 +681,9 @@ steps: from_secret: docker_password username: from_secret: docker_username + environment: + PLUGIN_MIRROR: + from_secret: plugin_mirror when: event: exclude: @@ -715,6 +718,9 @@ steps: tags: linux-arm64 build_args: - GOPROXY=off + environment: + PLUGIN_MIRROR: + from_secret: plugin_mirror when: event: - pull_request @@ -759,6 +765,9 @@ steps: from_secret: docker_password username: from_secret: docker_username + environment: + PLUGIN_MIRROR: + from_secret: plugin_mirror when: event: exclude: @@ -778,6 +787,9 @@ steps: from_secret: docker_password username: from_secret: docker_username + environment: + PLUGIN_MIRROR: + from_secret: plugin_mirror when: event: exclude: