summaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2020-11-06 02:35:10 -0500
committerGitHub <noreply@github.com>2020-11-06 02:35:10 -0500
commitc178a36438132f824932f6db26d7e902d69db56a (patch)
treeb9bf545d760a0254ddbd539c2bfbc95e26039361 /.drone.yml
parent35cc82abbf2315f05a5132115bc6e53786df6a3c (diff)
downloadgitea-c178a36438132f824932f6db26d7e902d69db56a.tar.gz
gitea-c178a36438132f824932f6db26d7e902d69db56a.zip
use registry mirror for docker-in-docker (#13438)
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index df84088e65..57dc12d3e7 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: