Skip to content

Commit c178a36

Browse files
use registry mirror for docker-in-docker (#13438)
Co-authored-by: Lauris BH <[email protected]>
1 parent 35cc82a commit c178a36

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.drone.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,9 @@ steps:
681681
from_secret: docker_password
682682
username:
683683
from_secret: docker_username
684+
environment:
685+
PLUGIN_MIRROR:
686+
from_secret: plugin_mirror
684687
when:
685688
event:
686689
exclude:
@@ -715,6 +718,9 @@ steps:
715718
tags: linux-arm64
716719
build_args:
717720
- GOPROXY=off
721+
environment:
722+
PLUGIN_MIRROR:
723+
from_secret: plugin_mirror
718724
when:
719725
event:
720726
- pull_request
@@ -759,6 +765,9 @@ steps:
759765
from_secret: docker_password
760766
username:
761767
from_secret: docker_username
768+
environment:
769+
PLUGIN_MIRROR:
770+
from_secret: plugin_mirror
762771
when:
763772
event:
764773
exclude:
@@ -778,6 +787,9 @@ steps:
778787
from_secret: docker_password
779788
username:
780789
from_secret: docker_username
790+
environment:
791+
PLUGIN_MIRROR:
792+
from_secret: plugin_mirror
781793
when:
782794
event:
783795
exclude:

0 commit comments

Comments
 (0)