use registry mirror for docker-in-docker (#13438) (#13446)

Co-authored-by: Lauris BH <lauris@nix.lv>

Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
techknowlogick 2020-11-06 15:43:19 -05:00 committed by GitHub
parent 4e10f33349
commit 0f2ee77968
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -652,7 +652,6 @@ steps:
event: event:
exclude: exclude:
- pull_request - pull_request
--- ---
kind: pipeline kind: pipeline
name: docker-linux-arm64-dry-run name: docker-linux-arm64-dry-run
@ -682,6 +681,9 @@ steps:
tags: linux-arm64 tags: linux-arm64
build_args: build_args:
- GOPROXY=off - GOPROXY=off
environment:
PLUGIN_MIRROR:
from_secret: plugin_mirror
when: when:
event: event:
- pull_request - pull_request
@ -726,11 +728,13 @@ steps:
from_secret: docker_password from_secret: docker_password
username: username:
from_secret: docker_username from_secret: docker_username
environment:
PLUGIN_MIRROR:
from_secret: plugin_mirror
when: when:
event: event:
exclude: exclude:
- pull_request - pull_request
--- ---
kind: pipeline kind: pipeline
name: docker-manifest name: docker-manifest