aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hoyes2023-03-10 09:53:03 +0000
committerTom Rini2023-03-21 21:04:09 -0400
commit74bcbb13c4d32ded539e8e68fb4de4a2a4136fb6 (patch)
treebc0190916180ae056973a829ffab763d2fc52868
parent8b0b50170d659ccb7d9f5905205982a00f6ba990 (diff)
CI: Allow a mirror to be specified for Docker Hub
To conserve bandwidth and potentially avoid rate limits, allow a local mirror of Docker Hub to be specified globally. The default value is unchanged. Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d2103d28b05..5431bf6011a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@
variables:
DEFAULT_TAG: ""
+ MIRROR_DOCKER: docker.io
default:
tags:
@@ -9,7 +10,7 @@ default:
# Grab our configured image. The source for this is found
# in the u-boot tree at tools/docker/Dockerfile
-image: trini/u-boot-gitlab-ci-runner:jammy-20230308-21Mar2023
+image: ${MIRROR_DOCKER}/trini/u-boot-gitlab-ci-runner:jammy-20230308-21Mar2023
# We run some tests in different order, to catch some failures quicker.
stages: